当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 server API Documentation 英文版文档
JDBCInformixCreateCommand (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档
org.jboss.ejb.plugins.cmp.jdbc.keygen
Class JDBCInformixCreateCommand
java.lang.Object
org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand
org.jboss.ejb.plugins.cmp.jdbc.JDBCIdentityColumnCreateCommand
org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCInformixCreateCommand
- All Implemented Interfaces:
- JDBCCreateCommand
- public class JDBCInformixCreateCommand
- extends JDBCIdentityColumnCreateCommand
Create command for Informix that uses the driver's getSerial method
to retrieve SERIAL values. Also supports SERIAL8 columns if method
attribute of entity-command is set to "getSerial8"
- Author:
- Jeremy Boynes
Methods inherited from class org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand |
afterInsert, beforeInsert, checkCreateAllowed, execute, generateFields, getGeneratedPKField, getPrimaryKey, initInsertFields, initInsertSQL, performInsert, prepareStatement |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JDBCInformixCreateCommand
public JDBCInformixCreateCommand()
init
public void init(JDBCStoreManager manager)
throws org.jboss.deployment.DeploymentException
- Specified by:
init
in interface JDBCCreateCommand
- Overrides:
init
in class JDBCAbstractCreateCommand
- Throws:
org.jboss.deployment.DeploymentException
initEntityCommand
protected void initEntityCommand(JDBCEntityCommandMetaData entityCommand)
throws org.jboss.deployment.DeploymentException
- Overrides:
initEntityCommand
in class JDBCAbstractCreateCommand
- Throws:
org.jboss.deployment.DeploymentException
executeInsert
protected int executeInsert(int paramIndex,
PreparedStatement ps,
EntityEnterpriseContext ctx)
throws SQLException
- Overrides:
executeInsert
in class JDBCIdentityColumnCreateCommand
- Throws:
SQLException
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.