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
|