Ask questions and see you at February, 8th, 8.PM. CET: https://vimeo.com/event/154379
Also checkout recent episode:
Please keep the questions Jakarta EE-stic. Means: as short and as concise as only possible. Feel free to ask several, shorter questions. Upcoming airhacks.tv events are also going to be announced at meetup.com/airhacks
Hi,
I'm using payara with eclipselink as JPA implementation. If you query an entity (which has lazy relations) in an EJB and the EJB returns the object then the tx is closed and the object is not attached anymore to the entitymanager.
I read on stackoverflow that when you access the sub objects, eclipselink will automatically run queries on the db to get them.
E.g. hibernate would typically throw an exception (I think hibernate also has support for something similar these days)
However when such objects are serialized and deserialized this auto query mechanism doesn't work anymore.
Three questions:
- I could not find it on the eclipse site
- I need to know this because in such situations problems will occur if the sub objects are accessed.
best regards,
Hans