[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[News.eclipse.technology.eclipselink] Re: JPA: adding entities to EntityManagerFactory programmatically
|
There is no easy way to add descriptors dynamically from annotations.
You would need to build the ClassDescriptor either through the
ClassDescriptor and DatabaseMapping API, or load a descriptor from the
native EclipseLink project.xml.
The annotations processing is done in,
org.eclipse.persistence.internal.jpa.metadata
but I'm not sure how to build a descriptor dynamically from annotations.
-- James