Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » EclipseLink: weaving, inheritance - entities in different jar
EclipseLink: weaving, inheritance - entities in different jar [message #1734528] Thu, 09 June 2016 07:40 Go to next message
Pavel No is currently offline Pavel NoFriend
Messages: 45
Registered: May 2016
Member
I have two entities and one entity is in one jar (one maven project) and another in another jar (another maven project). One entity extended another entity. And I have three questions:
1) Must static weaving work using recommended maven plugin?
2) Must dynamic weaving work?
3) is there a way to make dynamic weaving when entities are in different osgi bundles?

I ask these questions because everything I tried didn't help.
Re: EclipseLink: weaving, inheritance - entities in different jar [message #1734849 is a reply to message #1734528] Mon, 13 June 2016 13:41 Go to previous messageGo to next message
Chris Delahunt is currently offline Chris DelahuntFriend
Messages: 1275
Registered: July 2009
Senior Member
What have you tried? OSGI bundles and classloading is a pain to get right, so I'd start with putting your entities in one location and then statically weaving them, then packaging the resulting classes in their various bundles. From there, work backwards to find out what works for you and what doesn't.
Re: EclipseLink: weaving, inheritance - entities in different jar [message #1734885 is a reply to message #1734528] Mon, 13 June 2016 13:41 Go to previous message
Chris Delahunt is currently offline Chris DelahuntFriend
Messages: 1275
Registered: July 2009
Senior Member
What have you tried? OSGI bundles and classloading is a pain to get right, so I'd start with putting your entities in one location and then statically weaving them, then packaging the resulting classes in their various bundles. From there, work backwards to find out what works for you and what doesn't.
Re: EclipseLink: weaving, inheritance - entities in different jar [message #1734892 is a reply to message #1734528] Mon, 13 June 2016 13:41 Go to previous message
Chris Delahunt is currently offline Chris DelahuntFriend
Messages: 1275
Registered: July 2009
Senior Member
What have you tried? OSGI bundles and classloading is a pain to get right, so I'd start with putting your entities in one location and then statically weaving them, then packaging the resulting classes in their various bundles. From there, work backwards to find out what works for you and what doesn't.
Previous Topic:JPA: EntityGraph -> FetchGroupException [CLOSED]
Next Topic:EL-2.5.2 - Creating a single table takes 15 seconds.
Goto Forum:
  


Current Time: Tue Dec 12 14:19:05 GMT 2017

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

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