Some Javadoc clarification
This commit is contained in:
parent
b2f027a2dc
commit
d1a99bc3f8
@ -554,7 +554,7 @@ public interface FactoryOperations extends Configuration {
|
||||
* Statement s = connection.createStatement();
|
||||
*
|
||||
* for (Query query : queries) {
|
||||
* s.addBatch(renderInlined(query));
|
||||
* s.addBatch(query.getSQL(true));
|
||||
* }
|
||||
*
|
||||
* s.execute();
|
||||
@ -576,7 +576,7 @@ public interface FactoryOperations extends Configuration {
|
||||
* </pre></code>
|
||||
* <p>
|
||||
* This essentially runs the following logic: <code><pre>
|
||||
* Statement s = connection.prepareStatement(render(query));
|
||||
* Statement s = connection.prepareStatement(query.getSQL(false));
|
||||
*
|
||||
* for (Object[] bindValues : allBindValues) {
|
||||
* for (Object bindValue : bindValues) {
|
||||
|
||||
@ -119,7 +119,8 @@ public interface Query extends QueryPart {
|
||||
* <p>
|
||||
* See {@link #getSQL()} for more details
|
||||
*
|
||||
* @param inline Whether to inline bind variables
|
||||
* @param inline Whether to inline bind variables. This overrides values in
|
||||
* {@link Settings#getStatementType()}
|
||||
* @return The generated SQL
|
||||
*/
|
||||
String getSQL(boolean inline);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user