org.jboss.ejb.plugins.cmp.jdbc
Class JDBCInitEntityCommand
java.lang.Object
   org.jboss.ejb.plugins.cmp.jdbc.JDBCInitEntityCommand
org.jboss.ejb.plugins.cmp.jdbc.JDBCInitEntityCommand
- public final class JDBCInitEntityCommand- extends Object
CMPStoreManager JDBCActivateEntityCommand
- Version:
- $Revision: 1.6.4.5 $
- Author:
- Dain Sundstrom
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
JDBCInitEntityCommand
public JDBCInitEntityCommand(JDBCStoreManager manager)
execute
public void execute(EntityEnterpriseContext ctx)
- Called before ejbCreate. In the JDBCStoreManager we need to 
 initialize the presistence context. The persistence context is where
 where bean data is stored. If CMP 1.x, original values are store 
 and for CMP 2.x actual values are stored int the context. Then we
 initialize the data. In CMP 1.x fields are reset to Java defaults, and
 in CMP 2.x current value in persistence store are initialized.
 Note: persistence context is also initialized in activate.
 
- 
 
      
      
        Copyright © 2002 JBoss Group, LLC. All Rights Reserved.