[#561] Various fixes
This commit is contained in:
parent
f7dda4d595
commit
b2b5118fbf
@ -44,7 +44,10 @@ import static java.util.Arrays.asList;
|
||||
// ...
|
||||
import static org.jooq.SQLDialect.H2;
|
||||
// ...
|
||||
// ...
|
||||
import static org.jooq.SQLDialect.POSTGRES;
|
||||
import static org.jooq.SQLDialect.SQLITE;
|
||||
// ...
|
||||
import static org.jooq.conf.ParamType.INLINED;
|
||||
import static org.jooq.impl.DSL.field;
|
||||
import static org.jooq.impl.DSL.selectOne;
|
||||
@ -428,17 +431,7 @@ extends BaseTest<A, AP, B, S, B2S, BS, L, X, DATE, BOOL, D, T, U, UU, I, IPK, T7
|
||||
}
|
||||
|
||||
public void testFetchMany() throws Exception {
|
||||
switch (dialect().family()) {
|
||||
/* [pro] xx
|
||||
xxxx xxxxxxx
|
||||
xxxx xxxxxxx
|
||||
xxxx xxxxxxx
|
||||
xx [/pro] */
|
||||
case SQLITE:
|
||||
log.info("SKIPPING", "Fetch Many tests");
|
||||
return;
|
||||
}
|
||||
|
||||
assumeFamilyNotIn(SQLITE);
|
||||
List<Result<Record>> results = create().fetchMany(
|
||||
"select * from t_book order by " + TBook_ID().getName());
|
||||
|
||||
|
||||
@ -229,6 +229,7 @@ abstract class AbstractStoreQuery<R extends Record> extends AbstractQuery implem
|
||||
// [#1260] TODO CUBRID supports this, but there's a JDBC bug
|
||||
/* [pro] xx
|
||||
xxxx xxxx
|
||||
xxxx xxxxxxxxx
|
||||
xxxx xxxxxxx
|
||||
xxxx xxxxxxxxxx
|
||||
xx [/pro] */
|
||||
@ -332,6 +333,7 @@ abstract class AbstractStoreQuery<R extends Record> extends AbstractQuery implem
|
||||
// [#1260] TODO CUBRID supports this, but there's a JDBC bug
|
||||
/* [pro] xx
|
||||
xxxx xxxx
|
||||
xxxx xxxxxxxxx
|
||||
xxxx xxxxxxx
|
||||
xxxx xxxxxxxxxx
|
||||
xx [/pro] */
|
||||
|
||||
@ -217,6 +217,7 @@ class AlterTableImpl extends AbstractQuery implements
|
||||
|
||||
switch (family) {
|
||||
/* [pro] xx
|
||||
xxxx xxxxxxxxx
|
||||
xxxx xxxxxxx
|
||||
xxxxxxxxx xxxxxxxxxxxxxxxxxxxxx
|
||||
xxxxxx
|
||||
|
||||
@ -80,6 +80,10 @@ class Concat extends AbstractFunction<String> {
|
||||
System.arraycopy(cast, 1, others, 0, others.length);
|
||||
|
||||
switch (configuration.dialect().family()) {
|
||||
/* [pro] xx
|
||||
xxxx xxxxxxxxx
|
||||
xx [/pro] */
|
||||
|
||||
case MARIADB:
|
||||
case MYSQL:
|
||||
return function("concat", SQLDataType.VARCHAR, cast);
|
||||
|
||||
@ -68,6 +68,7 @@ class CurrentUser extends AbstractFunction<String> {
|
||||
xxxxxx xxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxx
|
||||
|
||||
xxxx xxxx
|
||||
xxxx xxxxxxxxx
|
||||
xxxx xxxxxxx
|
||||
xxxxxx xxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxx
|
||||
|
||||
|
||||
@ -99,6 +99,7 @@ class Values<R extends Record> extends AbstractTable<R> {
|
||||
// for those dialects that do not support a VALUES() constructor
|
||||
/* [pro] xx
|
||||
xxxx xxxxxxx
|
||||
xxxx xxxxxxxxx
|
||||
xxxx xxxxxxx
|
||||
xxxx xxxxxxx
|
||||
xxxx xxxxxxx
|
||||
|
||||
Loading…
Reference in New Issue
Block a user