[#561] Add support for the Informix database - Various fixes

This commit is contained in:
Lukas Eder 2014-07-30 11:22:16 +02:00
parent c0dcc1bdee
commit 5407d8ab14
3 changed files with 19 additions and 0 deletions

View File

@ -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
""")
)
}
}

View File

@ -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] */

View File

@ -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;
// ...