Skip to main content



      Home
Home » Eclipse Projects » EclipseLink » Persistence unit with entities in multiple jars and static weaving
Persistence unit with entities in multiple jars and static weaving [message #985370] Thu, 15 November 2012 05:46 Go to next message
Eclipse UserFriend
My entities classes are scattered in multiple jars.
In jar A I have a base class name MyBase which is annotated with @MappedSuperclass.
In jar B there is an entity class which derives from MyBase (jar B depends on jar A).
The problem is that because the weaving is done in the context of the jar file (I'm using the maven plugin) the base class (MyBase) isn't instrumented (although it should).
If I move the derived class from jar B to A then the weaving process will handle the base class as well.
Since I'm working on a large project it is critical for me to develop in a modular way.
Doesn't EclipseLink support such methodology?
Re: Persistence unit with entities in multiple jars and static weaving [message #986479 is a reply to message #985370] Tue, 20 November 2012 10:37 Go to previous message
Eclipse UserFriend
See,

http://stackoverflow.com/questions/13392986/mappedsuperclass-static-weaving-with-eclipselink-and-multiple-jars
Previous Topic:PostGIS + Eclipselink
Next Topic:Can't make @MappedSuperclass work with EclipseLink / Spring Data JPA
Goto Forum:
  


Current Time: Wed Jul 23 07:42:09 EDT 2025

Powered by FUDForum. Page generated in 0.07398 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top