openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig L Russell <Craig.Russ...@Sun.COM>
Subject FetchGroup implementation
Date Wed, 27 Aug 2008 23:05:44 GMT
The JDO expert group has adopted a user-level API for configuring  
FetchGroups at runtime. There is a factory for FetchGroup in the  
PersistenceManager and PersistenceManagerFactory, corresponding to  
EntityManager and EntityManagerFactory.

I'd like to implement this concept for OpenJPA, and have a few  
questions before I start.

Currently there is an Annotation  
org.apache.openjpa.persistence.FetchGroup that allows an annotation to  
be defined for a class or field. There are also and in that same package. The FetchPlan is the  
interface (not standard) and the FetchPlanImpl is the implementation  
for the FetchPlan interface.

So if we want to have an interface representing the FetchGroup how do  
we avoid the name conflict between the annotation name and the  
interface name for FetchGroup?


Craig L Russell
Architect, Sun Java Enterprise System
408 276-5638
P.S. A good JDO? O, Gasp!

View raw message