mirror of
https://github.com/querydsl/querydsl.git
synced 2026-06-21 21:14:12 +08:00
fixed error
This commit is contained in:
parent
9aa102155f
commit
142ac85d13
@ -97,7 +97,7 @@ exporter.export(conn.getMetaData());
|
||||
QCustomer customer = new QCustomer("c");
|
||||
|
||||
SQLTemplates dialect = new HSQLDBTemplates(); // SQL-dialect
|
||||
SQLQuery query = SQLQueryImpl(connection, dialect);
|
||||
SQLQuery query = new SQLQueryImpl(connection, dialect);
|
||||
List<String> lastNames = query.from(customer)
|
||||
.where(customer.firstName.eq("Bob"))
|
||||
.list(customer.lastName);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user