I am moving an application from standalone Tomcat 5.5.x to JBOSS. In Tomcat, I 
declare my cached classes[ & collections] in the hibernate.cfg.xml file. for 
example:

anonymous wrote :               <class-cache 
class="com.elasticpath.commons.datatransfer.AddressDTO" usage="read-only"/>
  | 
  | 
  | 

In JBOSS, it is not clear to me where these declarations go as the 
hibernate.cfg.xml is not part of the Hibernate Archive strategy. DO I need to 
explicitly declare them in the hbm.xml files? For example, in 
AddressDTO.hbm.xml:


anonymous wrote : <class lazy="false" 
  |   |     name="com.elasticpath.commons.datatransfer.AddressDTO" 
  |   |     table="TADDRESS">
  |   | <cache usage ="read-only"/>


Or is there some other method within the Hibernate Archive [.HAR]?


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4045602#4045602

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4045602
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to