Hello *,
I'm usually working with JDO (DataNucleus), but I'm currently conducting a customer's project with JPA (Hibernate). I normally make use of
fetch-groups when detaching an object graph and wonder how I can do this with Hibernate.
I know that JPA does not support fetch-groups, but I thought, there should be a way using Hibernate-specific API.
My colleague and I have searched a while both in various search engines and in this forum, but all we found were articles about lazy-loading of fields. That's not what we're looking for since we need a solution for shaping the object graph
during detachment.
Any hints about controlling the detachment would be highly appreciated!
Btw. I'm using GlassFish 3 (just to let you know, in case it has consequences concerning runtime-enhancement).
Best regards, Marco :-)