-->
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: Jboss Pojo Cache with Hibernate Reverse engineering tool
PostPosted: Mon Jul 12, 2010 1:07 pm 
Newbie

Joined: Mon Jul 12, 2010 12:50 pm
Posts: 1
Hello Friends,

We are using Hibernate Reverse engineering tool to generate pojo's and DAO classes with Annotations (not using hbm).

We need to use jboss cache as a second level cache.

Thus we need in add

@Cache(usage = CacheConcurrencyStrategy.TRANSACTIONAL) or

@Cache(usage = CacheConcurrencyStrategy.READ_ONLY)

in the generated pojo's to support the jboss cache.

Can this be directly generated by the Hibernate tool or any other tool available in jboss tool, we are unable to work manually as the count of the tables in the database that needs to reverse engineered is large (>500)


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.