public abstract class AbstractSQLClause<C extends AbstractSQLClause<C>> extends java.lang.Object implements DMLClause<C>
Modifier and Type | Field and Description |
---|---|
protected Configuration |
configuration |
Constructor and Description |
---|
AbstractSQLClause(Configuration configuration) |
Modifier and Type | Method and Description |
---|---|
protected void |
close(java.sql.PreparedStatement stmt) |
protected void |
close(java.sql.ResultSet rs) |
protected long |
executeBatch(java.sql.PreparedStatement stmt) |
protected void |
setParameters(java.sql.PreparedStatement stmt,
java.util.List<?> objects,
java.util.List<Path<?>> constantPaths,
java.util.Map<ParamExpression<?>,?> params)
Set the parameters to the given PreparedStatement
|
protected final Configuration configuration
public AbstractSQLClause(Configuration configuration)
configuration
- protected void setParameters(java.sql.PreparedStatement stmt, java.util.List<?> objects, java.util.List<Path<?>> constantPaths, java.util.Map<ParamExpression<?>,?> params)
stmt
- preparedStatement to be populatedobjects
- list of constantsconstantPaths
- list of paths related to the constantsparams
- map of param to value for param resolvingprotected long executeBatch(java.sql.PreparedStatement stmt) throws java.sql.SQLException
java.sql.SQLException
protected void close(java.sql.PreparedStatement stmt)
protected void close(java.sql.ResultSet rs)
Copyright © 2007-2013 Mysema Ltd. All Rights Reserved.