Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dali » Hibernate to JPA 2.0 migration issues
Hibernate to JPA 2.0 migration issues [message #1035088] Sat, 06 April 2013 09:48 Go to next message
Vishwanath D is currently offline Vishwanath DFriend
Messages: 1
Registered: April 2013
Junior Member
Good day,
We are trying to migrate the existing ORM implementation from Hibernate 3.2 to JPA 2.0 using eclipse link.
Database SQL server 2012
One of the issues which is quite critical is the following hibernate for table per class config as mentioned
@hibernate.joined-subclass table="TBL_AUTHORISATION" dynamic-insert="true" dynamic-update="true"
* @hibernate.joined-subclass-key column="ID"
The inheritance strategy applied in JPA as Joined throws errors when testing with database as the ID column is in the Parent object(table), using table per subclass inheritance strategy in JPA requires descriminators which would mean changing the table structure which is not a near possibility.
How this issue can be resolved, does Eclipselink provide a solution for this? Do we need to use hibernate as the JPA provider if so what are the issues? or is there provision in eclipselink in future releases for this ?

Regards,
Vishwanath
Re: Hibernate to JPA 2.0 migration issues [message #1036745 is a reply to message #1035088] Mon, 08 April 2013 19:05 Go to previous message
Neil Hauge is currently offline Neil HaugeFriend
Messages: 475
Registered: July 2009
Senior Member
Hi Vishwanath,

The best place to get advice on this question is in the EclipseLink forum. Let me know if you don't get the help you need over there. Link below.

http://www.eclipse.org/forums/index.php?t=thread&frm_id=111

Neil
Previous Topic:Missing join table in database using JPA Tools -> Generate Tables from Entities
Next Topic:JPQL Refactoring?
Goto Forum:
  


Current Time: Sat Apr 20 02:42:49 GMT 2024

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

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

Back to the top