Skip to main content



      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 05:48 Go to next message
Eclipse UserFriend
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 15:05 Go to previous message
Eclipse UserFriend
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: Thu Jul 03 06:00:07 EDT 2025

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

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

Back to the top