org.jboss.ejb.plugins.cmp.jdbc
Class JDBCCreateEntityCommand

java.lang.Object
  extended by org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand
      extended by org.jboss.ejb.plugins.cmp.jdbc.JDBCInsertPKCreateCommand
          extended by org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand
All Implemented Interfaces:
JDBCCreateCommand

public final class JDBCCreateEntityCommand
extends JDBCInsertPKCreateCommand

JDBCCreateEntityCommand executes an INSERT INTO query. This command will only insert non-read-only columns. If a primary key column is read-only this command will throw a CreateException.

Version:
$Revision: 1.28.4.1 $
Author:
Dain Sundstrom, Rickard Öberg, Marc Fleury, Joe Shevland, Justin Forder, Alex Loubyansky

Field Summary
 
Fields inherited from class org.jboss.ejb.plugins.cmp.jdbc.JDBCInsertPKCreateCommand
existsSQL
 
Fields inherited from class org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand
createAllowed, debug, entity, exceptionProcessor, insertAfterEjbPostCreate, insertFields, insertSQL, log, securityManager, trace
 
Constructor Summary
JDBCCreateEntityCommand()
           
 
Method Summary
 
Methods inherited from class org.jboss.ejb.plugins.cmp.jdbc.JDBCInsertPKCreateCommand
beforeInsert, init, initExistsSQL
 
Methods inherited from class org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand
afterInsert, checkCreateAllowed, execute, executeInsert, generateFields, getGeneratedPKField, getPrimaryKey, initEntityCommand, initGeneratedFields, initInsertFields, initInsertSQL, isInsertField, performInsert, prepareStatement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDBCCreateEntityCommand

public JDBCCreateEntityCommand()


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