-->
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: OSIV + JTA = LazyInitializationException
PostPosted: Wed Jun 30, 2010 9:48 am 
Newbie

Joined: Wed Dec 06, 2006 6:50 pm
Posts: 7
Hi,

I´m using OSIV pattern in a JSF+facelets (without EJB) application. Everything looks fine until a collection has to be lazily initialized by a JSF-EL expression inside a page. Hibernate simply doesn´t find the session propagated by the JTA transaction (the transaction is opened and closed by the long conversation filter). I access/modify 2 differents databases in a same transaction, so I do have to use JTA. The problem exists only for lazy loading of collections during the page rendering JSF phase. OSIV and JTA are incompatible?

Thanks,
Fred


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.