-->
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: in JTA environment, use of read-write or transactional secon
PostPosted: Wed Oct 03, 2007 3:28 pm 
Newbie

Joined: Mon Sep 17, 2007 1:28 pm
Posts: 6
Hi,

what does this mean: No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)

a) IF you are using JTA: don't use read-write or tx cache without telling me about the tx manager
b) you ARE using JTA, don't use read write cache

I am putting @Cache(usage=CacheConcurrencyStrategy.READ_WRITE) on top of some entities here, and everything seems ok. That line has me a bit paranoid and I'm not sure how to interepret it.

As far as I know springs HibernateTransactionManager (which I'm using) has nothing to do with JTA.

Do I have something misconfigured or am I ok with this? Also ehcache does not support CacheConcurrencyStrategy.TRANSACTIONAL correct?


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.