Package org.apache.cayenne.access.jdbc
Class SQLStatement
java.lang.Object
org.apache.cayenne.access.jdbc.SQLStatement
A PreparedStatement descriptor containing a String of SQL and an array of parameters.
SQLStatement is essentially a "compiled" version of any single query.
- Since:
- 1.1
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ParameterBinding[]protected ColumnDescriptor[]protected String -
Constructor Summary
ConstructorsConstructorDescriptionSQLStatement(String sql, ColumnDescriptor[] resultColumns, ParameterBinding[] bindings) SQLStatement(String sql, ParameterBinding[] bindings) -
Method Summary
Modifier and TypeMethodDescriptiongetSql()voidsetBindings(ParameterBinding[] bindings) voidsetResultColumns(ColumnDescriptor[] descriptors) void
-
Field Details
-
sql
-
bindings
-
resultColumns
-
-
Constructor Details
-
SQLStatement
public SQLStatement() -
SQLStatement
-
SQLStatement
- Since:
- 1.2
-
-
Method Details
-
getResultColumns
- Since:
- 1.2
-
setResultColumns
- Since:
- 1.2
-
getBindings
-
getSql
-
setBindings
-
setSql
-