gdamour     2005/10/01 04:44:09

  Modified:    modules/openejb-builder/src/test/org/openejb/deployment
                        CMPSystemMethodIndicesTest.java
  Log:

  GERONIMO-188 Entity instance caching
  
  Add support for caching of CMP entities across Tx.
  
  An entity cache is defined for each CMP. It is queried and updated each
  time that a CMP or CMR field is accessed or updated respectively. Also, this
  cache is queried when a CMP is faulted if not already associated to the
  transactional cache.
  
  An isolation level is defined by an entity cache. Two isolation levels are
  currently supported, namely read-uncommitted and read-committed.
  read-committed has not yet been tested.
  
  Revision  Changes    Path
  1.7       +2 -1      
openejb/modules/openejb-builder/src/test/org/openejb/deployment/CMPSystemMethodIndicesTest.java
  
  Index: CMPSystemMethodIndicesTest.java
  ===================================================================
  RCS file: 
/home/projects/openejb/scm/openejb/modules/openejb-builder/src/test/org/openejb/deployment/CMPSystemMethodIndicesTest.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- CMPSystemMethodIndicesTest.java   5 Aug 2005 11:00:24 -0000       1.6
  +++ CMPSystemMethodIndicesTest.java   1 Oct 2005 08:44:09 -0000       1.7
  @@ -84,6 +84,7 @@
           globalSchema.addCacheTable(cacheTable);
           builder.setEJBName("mock");
           builder.setEJBSchema(ejbSchema);
  +        builder.setGlobalSchema(globalSchema);
           builder.initialize();
           Map vopMap = builder.buildVopMap(MockCMPEJB.class, cacheTable, 
Collections.EMPTY_MAP, null, new IdentityDefinerBuilder(ejbSchema, 
globalSchema), null, null, null, null, new HashMap());
           InterfaceMethodSignature[] signatures = (InterfaceMethodSignature[]) 
vopMap.keySet().toArray(new InterfaceMethodSignature[vopMap.size()]);
  
  
  

Reply via email to