gdamour     2005/10/01 04:44:09

  Modified:    modules/openejb-builder/src/schema openejb-jar-2.0.xsd
  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.2       +16 -0     
openejb/modules/openejb-builder/src/schema/openejb-jar-2.0.xsd
  
  Index: openejb-jar-2.0.xsd
  ===================================================================
  RCS file: 
/home/projects/openejb/scm/openejb/modules/openejb-builder/src/schema/openejb-jar-2.0.xsd,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- openejb-jar-2.0.xsd       28 Sep 2005 22:14:25 -0000      1.1
  +++ openejb-jar-2.0.xsd       1 Oct 2005 08:44:09 -0000       1.2
  @@ -206,6 +206,22 @@
                   </xs:element>
               </xs:sequence>
   
  +            <xs:element name="cache" minOccurs="0">
  +                <xs:complexType>
  +                    <xs:sequence>
  +                        <xs:element name="isolation-level">
  +                            <xs:simpleType>
  +                                <xs:restriction base="xs:string">
  +                                     <xs:enumeration 
value="read-uncommitted"/>
  +                                    <xs:enumeration value="read-committed"/>
  +                                </xs:restriction>
  +                            </xs:simpleType>
  +                        </xs:element>
  +                        <xs:element name="size" type="xs:int"/>
  +                    </xs:sequence>
  +                </xs:complexType>
  +            </xs:element>
  +
               <xs:group ref="naming:jndiEnvironmentRefsGroup"/>
   
               <xs:element name="query" type="openejb:queryType" minOccurs="0" 
maxOccurs="unbounded"/>
  
  
  

Reply via email to