User: danch
Date: 01/06/12 23:52:17
Modified: src/main/org/jboss/ejb/plugins/jaws
JPMLoadEntitiesCommand.java
Log:
second pass at collection finder optimization - this fixes problem with defined
finders doing joins
Revision Changes Path
1.2 +6 -2
jboss/src/main/org/jboss/ejb/plugins/jaws/JPMLoadEntitiesCommand.java
Index: JPMLoadEntitiesCommand.java
===================================================================
RCS file:
/cvsroot/jboss/jboss/src/main/org/jboss/ejb/plugins/jaws/JPMLoadEntitiesCommand.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- JPMLoadEntitiesCommand.java 2001/05/27 00:49:15 1.1
+++ JPMLoadEntitiesCommand.java 2001/06/13 06:52:17 1.2
@@ -13,10 +13,14 @@
import org.jboss.ejb.plugins.jaws.metadata.PkFieldMetaData;
/**
- * Interface for JAWSPersistenceManager LoadEntities
+ * Interface for JAWSPersistenceManager LoadEntities - <b>pre</b> load data for a
+ * batch of entities. 'LoadEntities' is a bit of a misnomer - it should actually
+ * preload the data into a the FinderResults so that the LoadEntity command
+ * can later get it. This somewhat circuitous route is needed so that we don't
+ * violate the container contract by loading data before ejbActivate is called.
*
* @author <a href="mailto:[EMAIL PROTECTED]">danch (Dan Christopherson)</a>
- * @version $Revision: 1.1 $
+ * @version $Revision: 1.2 $
*/
public interface JPMLoadEntitiesCommand
{
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development