catch block?
Best regards, jtonic
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109382#4109382
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109382
__
27;ve mentioned. IMHO
reflection is the solution.
The following are the hibernate methods that help me doing the LIE interceptor:
Hibernate.isInitialized(object);
Hibernate.initialize(object);
session.lock(object, LockType);
Regards, jtonic
"mlouna" wrote : You're absolutely r
IMO getXXX() invocation does't throw LIE on lazy collection. It return an
unitialized PersistenceCollection. If you trie to invoke a collection method on
it get an LIE.
Ex.:
Collection children = parent.getChildren(); // doesn't throw LIE
col.iterator(); //throws LIE
Regar
nd detached instance of MedicalPersonnel and assign with
mp */
mp = em.merge(mp); //ClassCastException
What can I do against this?
Thx in advance, jtonic.
Error StackTrace:
Exception in thread "main" javax.ejb.EJBException:
java.la
tions), is
that a bug? Certainly it drives me crazy.
Thx in advance for your help, jtonic.
Full stack trace of any exception that occurs:
javax.ejb.EJBException: java.lang.ClassCastException:
ro.iqbyte.arhimed.model.core.common.entities.adm.Physician
at
org.jboss.ejb3.tx.Ej