Package org.hotrod.dynamicsql.insert
Class InsertExecutor
- java.lang.Object
-
- org.hotrod.dynamicsql.insert.InsertExecutor
-
- Direct Known Subclasses:
PreparedInsertIdentityInlineKeyResultSetExecutor,PreparedInsertNoRetrievalExecutor,PreparedInsertSequenceInlineKeysResultsetExecutor,PreparedInsertSequenceInlineStandardResultsetExecutor,PreparedInsertSequencePreFetchExecutor
public abstract class InsertExecutor extends Object
-
-
Constructor Summary
Constructors Constructor Description InsertExecutor()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidapplyParameters(List<ParameterOccurrence> parameters, PreparedStatement ps, Connection conn)abstract Longexecute(Connection conn, String sql, List<ParameterOccurrence> parameters, String sequencePreFetchSQL, String primaryKeyParameterName, String[] generatedKeysNames)
-
-
-
Method Detail
-
execute
public abstract Long execute(Connection conn, String sql, List<ParameterOccurrence> parameters, String sequencePreFetchSQL, String primaryKeyParameterName, String[] generatedKeysNames) throws SQLException, DynamicExpressionException
-
applyParameters
protected void applyParameters(List<ParameterOccurrence> parameters, PreparedStatement ps, Connection conn) throws SQLException
- Throws:
SQLException
-
-