public class QueryBuilder.Query extends Object
| Modifier and Type | Method and Description |
|---|---|
<T> List<T> |
executeQuery()
Executes the query returning a
List of beans declared in FROM clause. |
<T> T |
executeSentence()
Executes the query returning a single value according returnType of sentence in query.
|
List<Object> |
getParamValues() |
String |
getSQL()
Returns the SQL generated by QueryBuilder
|
<T> T |
getValueFromResultSet(ResultSet rs,
String name) |
PreparedStatement |
prepare()
Prepares a statement with paramValues to execute the query manually.
|
public PreparedStatement prepare()
PreparedStatement using this session connectionpublic <T> List<T> executeQuery()
List of beans declared in FROM clause.ResultSetQueryBuilder.Alias.populateAll(ResultSet, Object)public <T> T executeSentence()
public <T> T getValueFromResultSet(ResultSet rs, String name) throws SQLException
SQLExceptionpublic String getSQL()
Copyright © 2016. All Rights Reserved.