Save This Page
Home » jboss-5.0.0.CR1-src » org.jboss.ejb.plugins.cmp » jdbc » keygen » [javadoc | source]
org.jboss.ejb.plugins.cmp.jdbc.keygen
public class: JDBCMySQLCreateCommand [javadoc | source]
java.lang.Object
   org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand
      org.jboss.ejb.plugins.cmp.jdbc.JDBCIdentityColumnCreateCommand
         org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCMySQLCreateCommand

All Implemented Interfaces:
    JDBCCreateCommand

Create command for MySQL that uses the driver's getGeneratedKeys method to retrieve AUTO_INCREMENT values.
Fields inherited from org.jboss.ejb.plugins.cmp.jdbc.JDBCIdentityColumnCreateCommand:
pkField,  pkSQL
Fields inherited from org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand:
log,  debug,  trace,  entity,  securityManager,  createAllowed,  exceptionProcessor,  insertSQL,  insertFields,  insertAfterEjbPostCreate
Method from org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCMySQLCreateCommand Summary:
executeInsert,   init,   initEntityCommand
Methods from org.jboss.ejb.plugins.cmp.jdbc.JDBCIdentityColumnCreateCommand:
executeInsert,   initGeneratedFields,   isInsertField,   processException
Methods from org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand:
afterInsert,   beforeInsert,   checkCreateAllowed,   execute,   executeInsert,   generateFields,   getGeneratedPKField,   getPrimaryKey,   init,   initEntityCommand,   initGeneratedFields,   initInsertFields,   initInsertSQL,   isInsertField,   performInsert,   prepareStatement
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCMySQLCreateCommand Detail:
 protected int executeInsert(int paramIndex,
    PreparedStatement ps,
    EntityEnterpriseContext ctx) throws SQLException 
 public  void init(JDBCStoreManager manager) throws DeploymentException 
 protected  void initEntityCommand(JDBCEntityCommandMetaData entityCommand) throws DeploymentException