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.  [ 4 posts ] 
Author Message
 Post subject: xml cache tags in jboss-service.xml ?
PostPosted: Wed May 26, 2004 5:09 pm 
Pro
Pro

Joined: Mon Sep 08, 2003 4:30 pm
Posts: 203
Hi,

How can I configure the tags for caching (class-cache, collection-cache) in the jboss-service.xml to be used as an MBean ?

TIA,
steve p.


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 26, 2004 5:49 pm 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
Not possible - put them in the mapping files.


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 26, 2004 5:56 pm 
Pro
Pro

Joined: Mon Sep 08, 2003 4:30 pm
Posts: 203
michael wrote:
Not possible - put them in the mapping files.


What is the reason that the MBean config param set is much smaller than the usual hibernate.cfg.xml ?

thx.


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 26, 2004 6:03 pm 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
One reason is that the mbean config is more limited - you can really just do key=value attributes without roling your own parsing. In addition, it is really a bugger to always update the MBean when a new config option comes up, because every property of the MBean to configure needs its own setter method - so we usually do this only from time to time in a bigger bunch. Which reminds me, it's about time again ...


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

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.