Update of 
/cvsroot/xdoclet/xdoclet/modules/hibernate/src/xdoclet/modules/hibernate/resources
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30567/xdoclet/modules/hibernate/src/xdoclet/modules/hibernate/resources

Modified Files:
        hibernate-collections.xdt 
Log Message:
relaxed strong version checking to be compatible with newer hibernate releases 
(XDT-1125)

Index: hibernate-collections.xdt
===================================================================
RCS file: 
/cvsroot/xdoclet/xdoclet/modules/hibernate/src/xdoclet/modules/hibernate/resources/hibernate-collections.xdt,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -r1.22 -r1.23
*** hibernate-collections.xdt   27 Aug 2004 22:33:06 -0000      1.22
--- hibernate-collections.xdt   18 Mar 2005 15:42:12 -0000      1.23
***************
*** 2,29 ****
              <cache 
                  usage="<XDtMethod:methodTagValue tagName="hibernate.cache" 
paramName="usage" 
values="read-only,read-write,nonstrict-read-write,transactional" />" 
!              />
            </XDtMethod:ifHasMethodTag>
            <XDtMethod:ifHasMethodTag tagName="hibernate.jcs-cache">
              <jcs-cache 
                  usage="<XDtMethod:methodTagValue 
tagName="hibernate.jcs-cache" paramName="usage" 
values="read-only,read-write,nonstrict-read-write,transactional" />" 
!              />
            </XDtMethod:ifHasMethodTag>
            <XDtMethod:ifHasMethodTag tagName="hibernate.collection-cache">
              <cache 
                  usage="<XDtMethod:methodTagValue 
tagName="hibernate.collection-cache" paramName="usage" 
values="read-only,read-write,nonstrict-read-write,transactional" />" 
!              />
            </XDtMethod:ifHasMethodTag>
            <XDtMethod:ifHasMethodTag tagName="hibernate.collection-jcs-cache">
              <jcs-cache 
                  usage="<XDtMethod:methodTagValue 
tagName="hibernate.collection-jcs-cache" paramName="usage" 
values="read-only,read-write,nonstrict-read-write,transactional" />" 
!              />
            </XDtMethod:ifHasMethodTag>
  
            <XDtMethod:ifHasMethodTag tagName="hibernate.collection-key">
!               <key
                <XDtMethod:ifDoesntHaveMethodTag 
tagName="hibernate.collection-key-column">
!                   column="<XDtMethod:methodTagValue 
tagName="hibernate.collection-key" paramName="column" />"
                  <XDtMethod:ifHasMethodTag tagName="hibernate.collection-key" 
paramName="length">
!                   length="<XDtMethod:methodTagValue 
tagName="hibernate.collection-key" paramName="length" />"
                  </XDtMethod:ifHasMethodTag>
                </XDtMethod:ifDoesntHaveMethodTag>
--- 2,29 ----
              <cache 
                  usage="<XDtMethod:methodTagValue tagName="hibernate.cache" 
paramName="usage" 
values="read-only,read-write,nonstrict-read-write,transactional" />" 
!             />
            </XDtMethod:ifHasMethodTag>
            <XDtMethod:ifHasMethodTag tagName="hibernate.jcs-cache">
              <jcs-cache 
                  usage="<XDtMethod:methodTagValue 
tagName="hibernate.jcs-cache" paramName="usage" 
values="read-only,read-write,nonstrict-read-write,transactional" />" 
!             />
            </XDtMethod:ifHasMethodTag>
            <XDtMethod:ifHasMethodTag tagName="hibernate.collection-cache">
              <cache 
                  usage="<XDtMethod:methodTagValue 
tagName="hibernate.collection-cache" paramName="usage" 
values="read-only,read-write,nonstrict-read-write,transactional" />" 
!             />
            </XDtMethod:ifHasMethodTag>
            <XDtMethod:ifHasMethodTag tagName="hibernate.collection-jcs-cache">
              <jcs-cache 
                  usage="<XDtMethod:methodTagValue 
tagName="hibernate.collection-jcs-cache" paramName="usage" 
values="read-only,read-write,nonstrict-read-write,transactional" />" 
!             />
            </XDtMethod:ifHasMethodTag>
  
            <XDtMethod:ifHasMethodTag tagName="hibernate.collection-key">
!             <key
                <XDtMethod:ifDoesntHaveMethodTag 
tagName="hibernate.collection-key-column">
!                 column="<XDtMethod:methodTagValue 
tagName="hibernate.collection-key" paramName="column" />"
                  <XDtMethod:ifHasMethodTag tagName="hibernate.collection-key" 
paramName="length">
!                 length="<XDtMethod:methodTagValue 
tagName="hibernate.collection-key" paramName="length" />"
                  </XDtMethod:ifHasMethodTag>
                </XDtMethod:ifDoesntHaveMethodTag>
***************
*** 31,35 ****
                    foreign-key="<XDtMethod:methodTagValue 
tagName="hibernate.collection-key" paramName="foreign-key"/>"
                </XDtMethod:ifHasMethodTag>
!               >
                <XDtMethod:forAllMethodTags 
tagName="hibernate.collection-key-column">
                  <column
--- 31,35 ----
                    foreign-key="<XDtMethod:methodTagValue 
tagName="hibernate.collection-key" paramName="foreign-key"/>"
                </XDtMethod:ifHasMethodTag>
!             >
                <XDtMethod:forAllMethodTags 
tagName="hibernate.collection-key-column">
                  <column
***************
*** 55,135 ****
                  />
                </XDtMethod:forAllMethodTags>
!               </key>
            </XDtMethod:ifHasMethodTag>
  
            <XDtMethod:ifHasMethodTag tagName="hibernate.collection-index">
!               <index
!                   column="<XDtMethod:methodTagValue 
tagName="hibernate.collection-index" paramName="column" />"
!               <XDtMethod:ifHasMethodTag tagName="hibernate.collection-index" 
paramName="type">
!                   type="<XDtMethod:methodTagValue 
tagName="hibernate.collection-index" paramName="type" />"
!               </XDtMethod:ifHasMethodTag>
!               <XDtMethod:ifHasMethodTag tagName="hibernate.collection-index" 
paramName="length">
!                   length="<XDtMethod:methodTagValue 
tagName="hibernate.collection-index" paramName="length" />"
!               </XDtMethod:ifHasMethodTag>
!               />
!           </XDtMethod:ifHasMethodTag>
!         <XDtMethod:ifHasMethodTag 
tagName="hibernate.collection-composite-index">
!               <composite-index
!                   class="<XDtMethod:methodTagValue 
tagName="hibernate.collection-composite-index" paramName="class" />"
!               >
!               <XDtClass:pushClass value="<XDtMethod:methodTagValue 
tagName='hibernate.collection-composite-index' paramName='class' />">
                <XDtMethod:forAllMethods superclasses="true" sort="true">
!         <XDtMethod:ifHasMethodTag tagName="hibernate.property">
!         <key-property
!             name="<XDtMethod:propertyName />"
!             type="<XDtMethod:methodTagValue tagName="hibernate.property" 
paramName="type" default="<XDtMethod:methodType/>"/>"
!           <XDtConfig:ifConfigParamEquals paramName="version" value="2.0">
!             access="<XDtMethod:methodTagValue tagName="hibernate.property" 
paramName="access" values="field,property,Class" default="property"/>"
!           </XDtConfig:ifConfigParamEquals>
!           <XDtHibernate:setCurrentTag name="hibernate.property" 
mappingElement="key-property">
!             <XDtMerge:merge 
file="xdoclet/modules/hibernate/resources/hibernate-column.xdt">
!             </XDtMerge:merge>
!             </XDtHibernate:setCurrentTag>
!         </XDtMethod:ifHasMethodTag>
!         <XDtMethod:ifHasMethodTag tagName="hibernate.many-to-one">
!         <key-many-to-one
!             name="<XDtMethod:propertyName/>"
!             class="<XDtMethod:methodTagValue tagName="hibernate.many-to-one" 
paramName="class" default="<XDtMethod:methodType/>" />"
!           <XDtConfig:ifConfigParamEquals paramName="version" value="2.0">
!             access="<XDtMethod:methodTagValue tagName="hibernate.many-to-one" 
paramName="access" values="field,property,Class" default="property"/>"
!           <XDtMethod:ifHasMethodTag tagName="hibernate.many-to-one" 
paramName="foreign-key">
!             foreign-key="<XDtMethod:methodTagValue 
tagName="hibernate.many-to-one" paramName="foreign-key"/>"
!           </XDtMethod:ifHasMethodTag>
!           </XDtConfig:ifConfigParamEquals>
!           <XDtHibernate:setCurrentTag name="hibernate.many-to-one" 
mappingElement="key-many-to-one">
!             <XDtMerge:merge 
file="xdoclet/modules/hibernate/resources/hibernate-column.xdt">
!             </XDtMerge:merge>
!             </XDtHibernate:setCurrentTag>
!           </XDtMethod:ifHasMethodTag>
                </XDtMethod:forAllMethods>
!               </XDtClass:pushClass>
!               </composite-index>
            </XDtMethod:ifHasMethodTag>
            
            <XDtMethod:ifHasMethodTag tagName="hibernate.index-many-to-many">
!               <index-many-to-many
!                 class="<XDtMethod:methodTagValue 
tagName="hibernate.index-many-to-many" paramName="class" />"
                <XDtMethod:ifHasMethodTag 
tagName="hibernate.index-many-to-many" paramName="column">
!                   column="<XDtMethod:methodTagValue 
tagName="hibernate.index-many-to-many" paramName="column" />"
                </XDtMethod:ifHasMethodTag>
!               />
            </XDtMethod:ifHasMethodTag>
  
            <XDtMethod:ifHasMethodTag tagName="hibernate.collection-element">
!               <element
!                   column="<XDtMethod:methodTagValue 
tagName="hibernate.collection-element" paramName="column" />"
!                   type="<XDtMethod:methodTagValue 
tagName="hibernate.collection-element" paramName="type" />"
                <XDtMethod:ifHasMethodTag 
tagName="hibernate.collection-element" paramName="length">
!                   length="<XDtMethod:methodTagValue 
tagName="hibernate.collection-element" paramName="length" />"
                </XDtMethod:ifHasMethodTag>
!                   not-null="<XDtMethod:methodTagValue 
tagName="hibernate.collection-element" paramName="not-null" default="false" />"
!                   unique="<XDtMethod:methodTagValue 
tagName="hibernate.collection-element" paramName="unique" default="false" />"
!               />
            </XDtMethod:ifHasMethodTag>
  
            <XDtMethod:ifHasMethodTag 
tagName="hibernate.collection-composite-element">
!               <composite-element
!                   class="<XDtMethod:methodTagValue 
tagName="hibernate.collection-composite-element" paramName="class" />"
!               >
                    <XDtClass:pushClass value="<XDtMethod:methodTagValue 
tagName='hibernate.collection-composite-element' paramName='class' />">
                        <XDtMethod:forAllMethods superclasses="true" 
sort="true">
--- 55,135 ----
                  />
                </XDtMethod:forAllMethodTags>
!             </key>
            </XDtMethod:ifHasMethodTag>
  
            <XDtMethod:ifHasMethodTag tagName="hibernate.collection-index">
!             <index
!                 column="<XDtMethod:methodTagValue 
tagName="hibernate.collection-index" paramName="column" />"
!             <XDtMethod:ifHasMethodTag tagName="hibernate.collection-index" 
paramName="type">
!                 type="<XDtMethod:methodTagValue 
tagName="hibernate.collection-index" paramName="type" />"
!             </XDtMethod:ifHasMethodTag>
!             <XDtMethod:ifHasMethodTag tagName="hibernate.collection-index" 
paramName="length">
!                 length="<XDtMethod:methodTagValue 
tagName="hibernate.collection-index" paramName="length" />"
!             </XDtMethod:ifHasMethodTag>
!             />
!           </XDtMethod:ifHasMethodTag>
!           <XDtMethod:ifHasMethodTag 
tagName="hibernate.collection-composite-index">
!             <composite-index
!                 class="<XDtMethod:methodTagValue 
tagName="hibernate.collection-composite-index" paramName="class" />"
!             >
!             <XDtClass:pushClass value="<XDtMethod:methodTagValue 
tagName='hibernate.collection-composite-index' paramName='class' />">
                <XDtMethod:forAllMethods superclasses="true" sort="true">
!                 <XDtMethod:ifHasMethodTag tagName="hibernate.property">
!                 <key-property
!                     name="<XDtMethod:propertyName />"
!                     type="<XDtMethod:methodTagValue 
tagName="hibernate.property" paramName="type" 
default="<XDtMethod:methodType/>"/>"
!                   <XDtMethod:ifHasMethodTag tagName="hibernate.property" 
paramName="access">
!                     access="<XDtMethod:methodTagValue 
tagName="hibernate.property" paramName="access"/>"
!                   </XDtMethod:ifHasMethodTag>
!                   <XDtHibernate:setCurrentTag name="hibernate.property" 
mappingElement="key-property">
!                     <XDtMerge:merge 
file="xdoclet/modules/hibernate/resources/hibernate-column.xdt">
!                     </XDtMerge:merge>
!                   </XDtHibernate:setCurrentTag>
!                 </XDtMethod:ifHasMethodTag>
!                 <XDtMethod:ifHasMethodTag tagName="hibernate.many-to-one">
!                 <key-many-to-one
!                     name="<XDtMethod:propertyName/>"
!                     class="<XDtMethod:methodTagValue 
tagName="hibernate.many-to-one" paramName="class" 
default="<XDtMethod:methodType/>" />"
!                   <XDtMethod:ifHasMethodTag tagName="hibernate.many-to-one" 
paramName="access">
!                     access="<XDtMethod:methodTagValue 
tagName="hibernate.many-to-one" paramName="access"/>"
!                   </XDtMethod:ifHasMethodTag>
!                   <XDtMethod:ifHasMethodTag tagName="hibernate.many-to-one" 
paramName="foreign-key">
!                     foreign-key="<XDtMethod:methodTagValue 
tagName="hibernate.many-to-one" paramName="foreign-key"/>"
!                   </XDtMethod:ifHasMethodTag>
!                   <XDtHibernate:setCurrentTag name="hibernate.many-to-one" 
mappingElement="key-many-to-one">
!                     <XDtMerge:merge 
file="xdoclet/modules/hibernate/resources/hibernate-column.xdt">
!                     </XDtMerge:merge>
!                   </XDtHibernate:setCurrentTag>
!                 </XDtMethod:ifHasMethodTag>
                </XDtMethod:forAllMethods>
!             </XDtClass:pushClass>
!             </composite-index>
            </XDtMethod:ifHasMethodTag>
            
            <XDtMethod:ifHasMethodTag tagName="hibernate.index-many-to-many">
!             <index-many-to-many
!                 class="<XDtMethod:methodTagValue 
tagName="hibernate.index-many-to-many" paramName="class" />"
                <XDtMethod:ifHasMethodTag 
tagName="hibernate.index-many-to-many" paramName="column">
!                 column="<XDtMethod:methodTagValue 
tagName="hibernate.index-many-to-many" paramName="column" />"
                </XDtMethod:ifHasMethodTag>
!             />
            </XDtMethod:ifHasMethodTag>
  
            <XDtMethod:ifHasMethodTag tagName="hibernate.collection-element">
!             <element
!                 column="<XDtMethod:methodTagValue 
tagName="hibernate.collection-element" paramName="column" />"
!                 type="<XDtMethod:methodTagValue 
tagName="hibernate.collection-element" paramName="type" />"
                <XDtMethod:ifHasMethodTag 
tagName="hibernate.collection-element" paramName="length">
!                 length="<XDtMethod:methodTagValue 
tagName="hibernate.collection-element" paramName="length" />"
                </XDtMethod:ifHasMethodTag>
!                 not-null="<XDtMethod:methodTagValue 
tagName="hibernate.collection-element" paramName="not-null" default="false" />"
!                 unique="<XDtMethod:methodTagValue 
tagName="hibernate.collection-element" paramName="unique" default="false" />"
!             />
            </XDtMethod:ifHasMethodTag>
  
            <XDtMethod:ifHasMethodTag 
tagName="hibernate.collection-composite-element">
!             <composite-element
!                 class="<XDtMethod:methodTagValue 
tagName="hibernate.collection-composite-element" paramName="class" />"
!             >
                    <XDtClass:pushClass value="<XDtMethod:methodTagValue 
tagName='hibernate.collection-composite-element' paramName='class' />">
                        <XDtMethod:forAllMethods superclasses="true" 
sort="true">
***************
*** 139,170 ****
  
                    </XDtClass:pushClass>
!               </composite-element>
            </XDtMethod:ifHasMethodTag>
  
            <XDtMethod:ifHasMethodTag 
tagName="hibernate.collection-many-to-many">
!               <many-to-many
!                   class="<XDtMethod:methodTagValue 
tagName="hibernate.collection-many-to-many" paramName="class" />"
!                 <XDtMethod:ifHasMethodTag 
tagName="hibernate.collection-many-to-many" paramName="column">
!                   column="<XDtMethod:methodTagValue 
tagName="hibernate.collection-many-to-many" paramName="column" />"
!                 </XDtMethod:ifHasMethodTag>
!                   outer-join="<XDtMethod:methodTagValue 
tagName="hibernate.collection-many-to-many" paramName="outer-join" 
values="auto,true,false" default="auto" />"
                    <XDtMethod:ifHasMethodTag 
tagName="hibernate.collection-many-to-many" paramName="foreign-key">
!                   foreign-key="<XDtMethod:methodTagValue 
tagName="hibernate.collection-many-to-many" paramName="foreign-key"/>"
                    </XDtMethod:ifHasMethodTag>
!                />
            </XDtMethod:ifHasMethodTag>
  
            <XDtMethod:ifHasMethodTag 
tagName="hibernate.collection-one-to-many">
!               <one-to-many
                    class="<XDtMethod:methodTagValue 
tagName="hibernate.collection-one-to-many" paramName="class" />"
!               />
            </XDtMethod:ifHasMethodTag>
                      <XDtMethod:ifHasMethodTag tagName="hibernate.many-to-any">
!               <many-to-any
!                   id-type="<XDtMethod:methodTagValue 
tagName="hibernate.many-to-any" paramName="id-type"/>"
!                   meta-type="<XDtMethod:methodTagValue 
tagName="hibernate.many-to-any" paramName="meta-type" 
default="net.sf.hibernate.type.ClassType"/>"
!               >
                <XDtMethod:forAllMethodTags 
tagName="hibernate.many-to-any-column">
!                 <column
                      name="<XDtHibernate:computeColumnName 
base='<XDtMethod:methodTagValue tagName="hibernate.many-to-any-column" 
paramName="name"/>'/>" 
                    <XDtMethod:ifHasMethodTag 
tagName="hibernate.many-to-any-column" paramName="length">
--- 139,170 ----
  
                    </XDtClass:pushClass>
!             </composite-element>
            </XDtMethod:ifHasMethodTag>
  
            <XDtMethod:ifHasMethodTag 
tagName="hibernate.collection-many-to-many">
!             <many-to-many
!                 class="<XDtMethod:methodTagValue 
tagName="hibernate.collection-many-to-many" paramName="class" />"
!                   <XDtMethod:ifHasMethodTag 
tagName="hibernate.collection-many-to-many" paramName="column">
!                 column="<XDtMethod:methodTagValue 
tagName="hibernate.collection-many-to-many" paramName="column" />"
!                   </XDtMethod:ifHasMethodTag>
!                 outer-join="<XDtMethod:methodTagValue 
tagName="hibernate.collection-many-to-many" paramName="outer-join" 
values="auto,true,false" default="auto" />"
                    <XDtMethod:ifHasMethodTag 
tagName="hibernate.collection-many-to-many" paramName="foreign-key">
!                 foreign-key="<XDtMethod:methodTagValue 
tagName="hibernate.collection-many-to-many" paramName="foreign-key"/>"
                    </XDtMethod:ifHasMethodTag>
!              />
            </XDtMethod:ifHasMethodTag>
  
            <XDtMethod:ifHasMethodTag 
tagName="hibernate.collection-one-to-many">
!             <one-to-many
                    class="<XDtMethod:methodTagValue 
tagName="hibernate.collection-one-to-many" paramName="class" />"
!             />
            </XDtMethod:ifHasMethodTag>
                      <XDtMethod:ifHasMethodTag tagName="hibernate.many-to-any">
!             <many-to-any
!                 id-type="<XDtMethod:methodTagValue 
tagName="hibernate.many-to-any" paramName="id-type"/>"
!                 meta-type="<XDtMethod:methodTagValue 
tagName="hibernate.many-to-any" paramName="meta-type" 
default="net.sf.hibernate.type.ClassType"/>"
!             >
                <XDtMethod:forAllMethodTags 
tagName="hibernate.many-to-any-column">
!                <column
                      name="<XDtHibernate:computeColumnName 
base='<XDtMethod:methodTagValue tagName="hibernate.many-to-any-column" 
paramName="name"/>'/>" 
                    <XDtMethod:ifHasMethodTag 
tagName="hibernate.many-to-any-column" paramName="length">
***************
*** 188,191 ****
                  />
                </XDtMethod:forAllMethodTags>
!               </many-to-any>
            </XDtMethod:ifHasMethodTag>
--- 188,191 ----
                  />
                </XDtMethod:forAllMethodTags>
!             </many-to-any>
            </XDtMethod:ifHasMethodTag>



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to