-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Hibernate collection cache and JBoss
PostPosted: Thu Mar 25, 2004 3:58 pm 
Newbie

Joined: Tue Dec 09, 2003 4:45 pm
Posts: 14
Hi All,

I am currently using Hibernate 2.1 with JBoss 3.2.1 with an Oracle 9i database. Hibernate is configured as an MBean in JBoss, and I have no problems in this area.

I understand that to have collection object members cached in the 2nd level cache, a <collection-cache> element must appear in hibernate.cfg.xml. Is there a correspondinging way that I can enable collection caches in the jboss-service.xml used by the MBean? If not, can anyone tell me of any potential pitfalls that may be encountered by abandoning the MBean approach and using hibernate.cfg.xml?

Thanks in advance,

Mike Davison

_________________
Mike Davison


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.