Package | Description |
---|---|
org.apache.cayenne.query |
Defines standard queries supported by Cayenne and extension mechanism to create
custom queries.
|
Modifier and Type | Method and Description |
---|---|
SQLExec |
SQLExec.append(String sqlChunk)
Appends a piece of SQL to the previously stored SQL template.
|
SQLExec |
SQLExec.params(Map<String,?> parameters) |
SQLExec |
SQLExec.params(String name,
Object value) |
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.
|
Copyright © 2001–2019 Apache Cayenne. All rights reserved.