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

Modified Files:
        jboss-service.xdt 
Log Message:
Use correct QueryCache attribute name in JBoss Service for 
Hibernate >= 2.1.6 (XDT-1218)  Thanks to Chris Bonham for the patch.




Index: jboss-service.xdt
===================================================================
RCS file: 
/cvsroot/xdoclet/xdoclet/modules/hibernate/src/xdoclet/modules/hibernate/resources/jboss-service.xdt,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -r1.17 -r1.18
*** jboss-service.xdt   29 Oct 2004 16:28:57 -0000      1.17
--- jboss-service.xdt   1 Jan 2005 10:10:04 -0000       1.18
***************
*** 44,48 ****
--- 44,53 ----
       </XDtConfig:ifHasConfigParam>
       <XDtConfig:ifHasConfigParam paramName="useQueryCache">
+        <XDtConfig:ifConfigParamNotGreaterOrEquals paramName="version" 
value="2.1.6">
         <attribute name="UseQueryCache"><XDtConfig:configParameterValue 
paramName="useQueryCache"/></attribute>
+        </XDtConfig:ifConfigParamNotGreaterOrEquals>
+        <XDtConfig:ifConfigParamGreaterOrEquals paramName="version" 
value="2.1.6">
+        <attribute name="QueryCacheEnabled"><XDtConfig:configParameterValue 
paramName="useQueryCache"/></attribute>
+        </XDtConfig:ifConfigParamGreaterOrEquals>
       </XDtConfig:ifHasConfigParam>
       <XDtConfig:ifHasConfigParam paramName="querySubstitutions">



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to