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, prepareStatementprotected JDBCCMPFieldBridge pkField
protected String pkSQL
protected boolean isInsertField(JDBCFieldBridge field)
isInsertField in class JDBCAbstractCreateCommandprotected void initGeneratedFields()
initGeneratedFields in class JDBCAbstractCreateCommandprotected int executeInsert(int paramIndex,
PreparedStatement ps,
CmpEntityBeanContext ctx)
throws SQLException
executeInsert in class JDBCAbstractCreateCommandSQLExceptionprotected SQLException processException(Throwable t)
t - an Exception raised by a reflected callCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.