Reputation: 691
I have a requirement which forces me to extend an existing JPA entity at runtime to add one-to-many mapping. I came across ecliplselink wiki http://wiki.eclipse.org/EclipseLink/Examples/JPA/Dynamic. It seems very appealing.
It seems to be working in Java SE environment. Can I use the same approach in Java EE environment with glassfish 3.1.x server?
Please let me know.
Thanks, Chir
Upvotes: 0
Views: 222
Reputation: 18389
Also see,
http://wiki.eclipse.org/EclipseLink/UserGuide/JPA/Advanced_JPA_Development/External_Mappings
and,
http://wiki.eclipse.org/EclipseLink/UserGuide/JPA/Advanced_JPA_Development/Extensible_Entities
These should function in Glassfish.
Upvotes: 1