1

While, with Glassfish 3, I had no problem using lazy loading on no-transaction EJB methods, I can't figure out how to make it work with JBoss AS 6.

As a workaround, I can end my methods with entityManager.clear() , but it's not really sexy...

Does anyone know how to make hibernate lazy loading work with JBoss AS 6, on EJB methods annotated with @TransactionAttribute(TransactionAttributeType.NEVER) ?

jruillier
  • 365
  • 4
  • 16
  • its basically the same problem as stated here http://stackoverflow.com/questions/12428085/lazyinitializationexception-in-jpa-and-hibernate, hope that helps – cproinger Jan 21 '13 at 15:53

0 Answers0