-->
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: How to configure caching for entities of Hibernate JPA 3.2.4
PostPosted: Mon Oct 05, 2009 6:11 pm 
Newbie

Joined: Mon Oct 05, 2009 5:52 pm
Posts: 1
Hi, I have been struggling on finding how I can specify a JPA entity as cacheable and with eviction parameters.

I am using Hibernate 3.2.4 and JBoss Cache 1.4.1SP13.

There are many configuration examples out there, but all of them are using file-based parameters only(i.e. xml).

Is there annotations for eviction parameters such as maxElementsInMemory, eternal and timeToLiveSeconds?

Thanks a lot for any information.


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.