public class JDBCKeyGeneratorCreateCommand extends JDBCInsertPKCreateCommand
Modifier and Type | Field and Description |
---|---|
protected KeyGenerator |
keyGenerator |
protected JDBCCMPFieldBridge |
pkField |
existsSQL
createAllowed, debug, entity, exceptionProcessor, insertAfterEjbPostCreate, insertFields, insertSQL, log, securityManager, trace
Constructor and Description |
---|
JDBCKeyGeneratorCreateCommand() |
Modifier and Type | Method and Description |
---|---|
protected void |
generateFields(CmpEntityBeanContext ctx) |
void |
init(JDBCStoreManager manager) |
protected void |
initEntityCommand(JDBCEntityCommandMetaData entityCommand) |
beforeInsert, initExistsSQL
afterInsert, checkCreateAllowed, execute, executeInsert, getGeneratedPKField, getPrimaryKey, initGeneratedFields, initInsertFields, initInsertSQL, isInsertField, performInsert, prepareStatement
protected KeyGenerator keyGenerator
protected JDBCCMPFieldBridge pkField
public void init(JDBCStoreManager manager)
init
in interface JDBCCreateCommand
init
in class JDBCInsertPKCreateCommand
protected void initEntityCommand(JDBCEntityCommandMetaData entityCommand)
initEntityCommand
in class JDBCAbstractCreateCommand
protected void generateFields(CmpEntityBeanContext ctx) throws javax.ejb.CreateException
generateFields
in class JDBCAbstractCreateCommand
javax.ejb.CreateException
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.