public abstract class JDBCIdentityColumnCreateCommand extends JDBCAbstractCreateCommand
Modifier and Type | Field and Description |
---|---|
protected JDBCCMPFieldBridge |
pkField |
protected String |
pkSQL |
createAllowed, debug, entity, exceptionProcessor, insertAfterEjbPostCreate, insertFields, insertSQL, log, securityManager, trace
Constructor and Description |
---|
JDBCIdentityColumnCreateCommand() |
Modifier and Type | Method and Description |
---|---|
protected int |
executeInsert(int paramIndex,
PreparedStatement ps,
CmpEntityBeanContext ctx) |
protected void |
initGeneratedFields() |
protected boolean |
isInsertField(JDBCFieldBridge field) |
protected SQLException |
processException(Throwable t)
Helper for subclasses that use reflection to avoid driver dependencies.
|
afterInsert, beforeInsert, checkCreateAllowed, execute, generateFields, getGeneratedPKField, getPrimaryKey, init, initEntityCommand, initInsertFields, initInsertSQL, performInsert, prepareStatement
protected JDBCCMPFieldBridge pkField
protected String pkSQL
protected boolean isInsertField(JDBCFieldBridge field)
isInsertField
in class JDBCAbstractCreateCommand
protected void initGeneratedFields()
initGeneratedFields
in class JDBCAbstractCreateCommand
protected int executeInsert(int paramIndex, PreparedStatement ps, CmpEntityBeanContext ctx) throws SQLException
executeInsert
in class JDBCAbstractCreateCommand
SQLException
protected SQLException processException(Throwable t)
t
- an Exception raised by a reflected callCopyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.