【发布时间】:2019-01-24 03:10:54
【问题描述】:
我正在使用 jOOQ-3.11.9 来构建 SQL。以下是我的代码:
String sql = DSL.using(SQLDialect.MYSQL)
.select(DSL.asterisk())
.from(table("service"))
.where("name = ?", "service1")
.getSQL();
我期待的是
select * from service where (name = "service1")
但结果是
select * from service where (name = ?)
我的代码有什么问题吗?
【问题讨论】:
-
这个问题也在github上问过,这里:github.com/jOOQ/jOOQ/issues/8242