public interface BatchTranslator
Modifier and Type | Method and Description |
---|---|
DbAttributeBinding[] |
getBindings()
Returns the widest possible array of bindings for this query.
|
String |
getSql()
Returns SQL String that can be used to init a PreparedStatement.
|
DbAttributeBinding[] |
updateBindings(BatchQueryRow row)
Updates internal bindings to be used with a given row, returning updated
bindings array.
|
String getSql()
DbAttributeBinding[] getBindings()
DbAttributeBinding[] updateBindings(BatchQueryRow row)
getBindings()
(but in a state corresponding to the 'row'
parameter). Usually the returned array is actually the same object reused
for every iteration, only with changed object state.Copyright © 2001–2019 Apache Cayenne. All rights reserved.