Uses of Class
org.apache.cayenne.query.SQLExec
Package | Description |
---|---|
org.apache.cayenne.query |
Defines standard queries supported by Cayenne and extension mechanism to create
custom queries.
|
-
Uses of SQLExec in org.apache.cayenne.query
Methods in org.apache.cayenne.query that return SQLExec Modifier and Type Method Description SQLExec
SQLExec. append(String sqlChunk)
Appends a piece of SQL to the previously stored SQL template.SQLExec
SQLExec. params(String name, Object value)
SQLExec
SQLExec. params(Map<String,?> parameters)
SQLExec
SQLExec. paramsArray(Object... params)
Initializes positional parameters of the query.SQLExec
SQLExec. paramsList(List<Object> params)
Initializes positional parameters of the query.static SQLExec
SQLExec. query(String sql)
Creates a query executing provided SQL run against default database.static SQLExec
SQLExec. query(String dataMapName, String sql)
Creates a query executing provided SQL that performs routing based on the provided DataMap name.SQLExec
SQLExec. returnGeneratedKeys(boolean returnGeneratedKeys)
Flag indicating that generated keys should be returned by this query execution.