public abstract class AbstractSQLClause<C extends AbstractSQLClause<C>> extends 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(PreparedStatement stmt) |
protected void |
close(ResultSet rs) |
protected long |
executeBatch(PreparedStatement stmt) |
protected void |
setParameters(PreparedStatement stmt,
List<?> objects,
List<Path<?>> constantPaths,
Map<Param<?>,?> params)
Set the parameters to the given PreparedStatement
|
protected final Configuration configuration
public AbstractSQLClause(Configuration configuration)
configuration
- protected void setParameters(PreparedStatement stmt, List<?> objects, List<Path<?>> constantPaths, Map<Param<?>,?> 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(PreparedStatement stmt) throws SQLException
SQLException
protected void close(PreparedStatement stmt)
protected void close(ResultSet rs)
Copyright © 2007-2013 Mysema Ltd. All Rights Reserved.