|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand (src)
org.jboss.ejb.plugins.cmp.jdbc.JDBCInsertPKCreateCommand (src)
org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCKeyGeneratorCreateCommand
JDBCKeyGeneratorCreateCommand executes an INSERT INTO query. This command will ask the corresponding key generator for a value for the primary key before inserting the row.
Field Summary | |
protected KeyGenerator (src) |
keyGenerator
|
protected JDBCCMPFieldBridge (src) |
pkField
|
Fields inherited from class org.jboss.ejb.plugins.cmp.jdbc.JDBCInsertPKCreateCommand (src) |
existsSQL |
Fields inherited from class org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand (src) |
createAllowed, debug, entity, exceptionProcessor, insertAfterEjbPostCreate, insertFields, insertSQL, log, securityManager, trace |
Constructor Summary | |
JDBCKeyGeneratorCreateCommand()
|
Method Summary | |
protected void |
generateFields(EntityEnterpriseContext (src) ctx)
|
void |
init(JDBCStoreManager (src) manager)
|
protected void |
initEntityCommand(JDBCEntityCommandMetaData (src) entityCommand)
|
Methods inherited from class org.jboss.ejb.plugins.cmp.jdbc.JDBCInsertPKCreateCommand (src) |
beforeInsert, initExistsSQL |
Methods inherited from class org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand (src) |
afterInsert, checkCreateAllowed, execute, executeInsert, getGeneratedPKField, getPrimaryKey, initGeneratedFields, initInsertFields, initInsertSQL, isInsertField, performInsert, prepareStatement |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected KeyGenerator (src) keyGenerator
protected JDBCCMPFieldBridge (src) pkField
Constructor Detail |
public JDBCKeyGeneratorCreateCommand()
Method Detail |
public void init(JDBCStoreManager (src) manager) throws DeploymentException (src)
init
in interface JDBCCreateCommand (src)
init
in class JDBCInsertPKCreateCommand (src)
DeploymentException (src)
protected void initEntityCommand(JDBCEntityCommandMetaData (src) entityCommand) throws DeploymentException (src)
initEntityCommand
in class JDBCAbstractCreateCommand (src)
DeploymentException (src)
protected void generateFields(EntityEnterpriseContext (src) ctx) throws CreateException (src)
generateFields
in class JDBCAbstractCreateCommand (src)
CreateException (src)
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |