org.jboss.ejb.plugins.cmp.jdbc.keygen
Class JDBCSybaseCreateCommand
java.lang.Object
org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand
org.jboss.ejb.plugins.cmp.jdbc.JDBCIdentityColumnCreateCommand
org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCSybaseCreateCommand
- All Implemented Interfaces:
- JDBCCreateCommand
public class JDBCSybaseCreateCommand
- extends JDBCIdentityColumnCreateCommand
Create command for Sybase that uses the value from an IDENTITY columns.
By default uses "SELECT @@IDENTITY"; can be overridden with "pk-sql" attribute
- Version:
- $Revision: 81030 $
- Author:
- Jeremy Boynes
Methods inherited from class org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand |
afterInsert, beforeInsert, checkCreateAllowed, execute, generateFields, getGeneratedPKField, getPrimaryKey, init, initInsertFields, initInsertSQL, performInsert, prepareStatement |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JDBCSybaseCreateCommand
public JDBCSybaseCreateCommand()
initEntityCommand
protected void initEntityCommand(JDBCEntityCommandMetaData entityCommand)
throws DeploymentException
- Overrides:
initEntityCommand
in class JDBCAbstractCreateCommand
- Throws:
DeploymentException
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.