So how should I implement my persistence unit tests with lazy loading enabled?
I´m unit testing my DAOs and my test methods are not in a session bean, so when
I access my entities (the ones returned from the data base), the transaction is
closed and LazyLoadingException is thrown.
View the orig
Is there anyway to change the default value of my associations to Eager
Fetching?
I am running my unit tests and getting LazyInitializationException. I would
like to turn lazy loading off without having to write a entity element in the
orm file for every entity bean that I have.
thanks in adva
It seems the issue does not mention lib/ dependencies jars. It would be very
nice if these jars were fixed as well.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3936726#3936726
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=re