org.jboss.ejb.plugins.cmp.jdbc.keygen
Class JDBCSybaseCreateCommand

java.lang.Object
  extended by org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand
      extended by org.jboss.ejb.plugins.cmp.jdbc.JDBCIdentityColumnCreateCommand
          extended by 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: 57209 $
Author:
Jeremy Boynes

Field Summary
 
Fields inherited from class org.jboss.ejb.plugins.cmp.jdbc.JDBCIdentityColumnCreateCommand
pkField, pkSQL
 
Fields inherited from class org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand
createAllowed, debug, entity, exceptionProcessor, insertAfterEjbPostCreate, insertFields, insertSQL, log, securityManager, trace
 
Constructor Summary
JDBCSybaseCreateCommand()
           
 
Method Summary
protected  void initEntityCommand(JDBCEntityCommandMetaData entityCommand)
           
 
Methods inherited from class org.jboss.ejb.plugins.cmp.jdbc.JDBCIdentityColumnCreateCommand
executeInsert, initGeneratedFields, isInsertField, processException
 
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
 

Constructor Detail

JDBCSybaseCreateCommand

public JDBCSybaseCreateCommand()
Method Detail

initEntityCommand

protected void initEntityCommand(JDBCEntityCommandMetaData entityCommand)
                          throws org.jboss.deployment.DeploymentException
Overrides:
initEntityCommand in class JDBCAbstractCreateCommand
Throws:
org.jboss.deployment.DeploymentException


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.