|
||||||||||
| 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.JDBCIdentityColumnCreateCommand (src)
org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCDB2IdentityValLocalCreateCommand
Create method that uses the identity_val_local() function in DB2 to get get the ID of the last inserted row, and populate it into the EJB object being created.
| Field Summary |
| Fields inherited from class org.jboss.ejb.plugins.cmp.jdbc.JDBCIdentityColumnCreateCommand (src) |
pkField, pkSQL |
| Fields inherited from class org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand (src) |
createAllowed, debug, entity, exceptionProcessor, insertAfterEjbPostCreate, insertFields, insertSQL, log, securityManager, trace |
| Constructor Summary | |
JDBCDB2IdentityValLocalCreateCommand()
|
|
| Method Summary | |
protected int |
executeInsert(int paramIndex,
java.sql.PreparedStatement ps,
EntityEnterpriseContext (src) ctx)
|
| Methods inherited from class org.jboss.ejb.plugins.cmp.jdbc.JDBCIdentityColumnCreateCommand (src) |
initGeneratedFields, isInsertField, processException |
| Methods inherited from class org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand (src) |
afterInsert, beforeInsert, checkCreateAllowed, execute, generateFields, getGeneratedPKField, getPrimaryKey, init, initEntityCommand, initInsertFields, initInsertSQL, performInsert, prepareStatement |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JDBCDB2IdentityValLocalCreateCommand()
| Method Detail |
protected int executeInsert(int paramIndex,
java.sql.PreparedStatement ps,
EntityEnterpriseContext (src) ctx)
throws java.sql.SQLException
executeInsert in class JDBCIdentityColumnCreateCommand (src) java.sql.SQLException
|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||