[hibernate-dev] No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)

Guenther Demetz guenther.demetz at wuerth-phoenix.com
Mon Dec 14 07:59:43 EST 2009


Hi hibernate developers,

Since various hibernate releases (3.2, 3.3 , 3.5beta2) I'm still 
wondering about following warning when using hibernate with 
JDBCTransactionFactory (= without JTA integration):

TransactionManagerLookupFactory:80 - No TransactionManagerLookup 
configured (in JTA environment, use of read-write or transactional 
second-level cache is not recommended)

1. According documentation configuration of a TransactionManagerLookup 
is (only) required when using JTA environment, so why this warning?
2. Why is there a hint on how to use JTA environment, just using 
hibernate without JTA?
3. "transactional" concurrency strategy is supported by JBossCache and 
Infinispan and both require integration with JTA, 
     so why should transactional second-level cache not be recommended ?!

best regards
Guenther D.







More information about the hibernate-dev mailing list