Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Dynamic Entity with OneToOne relationship
Dynamic Entity with OneToOne relationship [message #1415461] Tue, 02 September 2014 21:15 Go to next message
Matt Dehring is currently offline Matt DehringFriend
Messages: 1
Registered: September 2014
Junior Member
I am using the Dynamic Entity creation api which works for the most part. Where I am running into a roadblock is that I am trying to add a relationship to a non dynamic entity. The addOneToOneMapping call only accepts a DynamicType. I also thought I might just be able to extend a MappedSuperClass but you can only use a DynamicType for the parent also. Is this just a limitation of the system, or is there are way to do what I am trying, or am I completely going down the wrong track?
Re: Dynamic Entity with OneToOne relationship [message #1419856 is a reply to message #1415461] Tue, 09 September 2014 07:20 Go to previous message
jason zhang is currently offline jason zhangFriend
Messages: 31
Registered: July 2009
Member
If you check the addOneToOneMappping source code, you will see how you can work out the limitation. You can copy that code and work out with static entity.
Previous Topic:Mongo DB online training in USA, UK, Japan
Next Topic:JPA stuck thread with releaseDeferredLock
Goto Forum:
  


Current Time: Tue Mar 19 06:37:31 GMT 2024

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

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

Back to the top