Hibernate to JPA 2.0 migration issues [message #1035088] |
Sat, 06 April 2013 05:48  |
Eclipse User |
|
|
|
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
|
|
|
|
Powered by
FUDForum. Page generated in 0.08737 seconds