Class AbstractInsertStatementCreator
- java.lang.Object
-
- de.akquinet.jbosscc.guttenbase.statements.AbstractStatementCreator
-
- de.akquinet.jbosscc.guttenbase.statements.AbstractInsertStatementCreator
-
- Direct Known Subclasses:
InsertStatementCreator
public abstract class AbstractInsertStatementCreator extends AbstractStatementCreator
Create INSERT statement with multiple VALUES tuples.© 2012-2034 akquinet tech@spree
- Author:
- M. Dahm
-
-
Field Summary
Fields Modifier and Type Field Description static String
INSERT_INTO
-
Fields inherited from class de.akquinet.jbosscc.guttenbase.statements.AbstractStatementCreator
_columnMapper, _connectorId, _connectorRepository, LOG
-
-
Constructor Summary
Constructors Constructor Description AbstractInsertStatementCreator(ConnectorRepository connectorRepository, String connectorId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PreparedStatement
createInsertStatement(String sourceConnectorId, TableMetaData sourceTableMetaData, String targetTableName, TableMetaData targetTableMetaData, Connection destConnection, int numberOfRowsPerBatch, boolean useMultipleValuesClauses)
Create INSERT statement for the mapped target columns.-
Methods inherited from class de.akquinet.jbosscc.guttenbase.statements.AbstractStatementCreator
createColumnClause, createWhereClause, getMappedTargetColumns
-
-
-
-
Field Detail
-
INSERT_INTO
public static final String INSERT_INTO
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AbstractInsertStatementCreator
public AbstractInsertStatementCreator(ConnectorRepository connectorRepository, String connectorId)
-
-
Method Detail
-
createInsertStatement
public PreparedStatement createInsertStatement(String sourceConnectorId, TableMetaData sourceTableMetaData, String targetTableName, TableMetaData targetTableMetaData, Connection destConnection, int numberOfRowsPerBatch, boolean useMultipleValuesClauses) throws SQLException
Create INSERT statement for the mapped target columns.- Throws:
SQLException
-
-