[#561] Add support for the Informix database - Various fixes
This commit is contained in:
parent
c0dcc1bdee
commit
5407d8ab14
@ -91,5 +91,22 @@ object Test {
|
||||
|
||||
println("first name : " + tuple._1);
|
||||
println("last name : " + tuple._2);
|
||||
|
||||
val predicate =
|
||||
if (1 == 1)
|
||||
"AND a.id = 1"
|
||||
else
|
||||
""
|
||||
|
||||
// Plain SQL
|
||||
println(f fetch (
|
||||
s"""
|
||||
SELECT a.first_name, a.last_name, b.title
|
||||
FROM t_author a
|
||||
JOIN t_book b ON a.id = b.author_id
|
||||
WHERE 1 = 1 $predicate
|
||||
ORDER BY a.id, b.id
|
||||
""")
|
||||
)
|
||||
}
|
||||
}
|
||||
@ -337,6 +337,7 @@ extends BaseTest<A, AP, B, S, B2S, BS, L, X, DATE, BOOL, D, T, U, UU, I, IPK, T7
|
||||
xxxx xxxxxxx
|
||||
xxxx xxxx
|
||||
xxxx xxxx
|
||||
xxxx xxxxxxxxx
|
||||
xxxx xxxxxxx
|
||||
xxxx xxxxxxxxxx
|
||||
xx [/pro] */
|
||||
|
||||
@ -55,6 +55,7 @@ import static org.jooq.SQLDialect.FIREBIRD;
|
||||
import static org.jooq.SQLDialect.H2;
|
||||
import static org.jooq.SQLDialect.HSQLDB;
|
||||
// ...
|
||||
// ...
|
||||
import static org.jooq.SQLDialect.MARIADB;
|
||||
import static org.jooq.SQLDialect.MYSQL;
|
||||
// ...
|
||||
|
||||
Loading…
Reference in New Issue
Block a user