Hi Brain, You have defined a FetchGroup named "subEntities" with arecursion depth of 50 alright. But defining a fetch group does *not* activate it. The fetch group which is active by default is called default and includes fields of basic types only. One way to activate "subEntities" fetch group is to activate it by name: OpenJPAEntityManager em = ....; em.getFetchPlan().addFetchGroup("subEntities"); // and now do the em operations.
There are other ways to specify FetchGroups also. But let me know if the quickest way works for you. -- View this message in context: http://n2.nabble.com/Issue-with-FetchAttribute-recursionDepth-tp2260751p2261652.html Sent from the OpenJPA Users mailing list archive at Nabble.com.