[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-users] Table per class inheritance ?

Hi,

I'm using EclipseLink 1.1.0-M5 and on features listed as completed there is the Table per class inheritance strategy (http://wiki.eclipse.org/EclipseLink/Development/JPA_2.0#.E2.80.A2_Table_Per_Class_Inheritance).

But when I use it I get an exception that it's not supported.Do you know if it will be supported ?

Thanks,
Antonio


Exception [EclipseLink-30005] (Eclipse Persistence Services - 1.1.0 (Build 20081209)): org.eclipse.persistence.exceptions.PersistenceUnitLoadingException
Exception Description: An exception was thrown while searching for persistence archives with ClassLoader: sun.misc.Launcher$AppClassLoader@11b86e7
Internal Exception: javax.persistence.PersistenceException: Exception [EclipseLink-28018] (Eclipse Persistence Services - 1.1.0 (Build 20081209)): org.eclipse.persistence.exceptions.EntityManagerSetupException
Exception Description: Predeployment of PersistenceUnit [chapter05PU] failed.
Internal Exception: Exception [EclipseLink-7152] (Eclipse Persistence Services - 1.1.0 (Build 20081209)): org.eclipse.persistence.exceptions.ValidationException
Exception Description: Table per class inheritance is not supported. Entity class [class org.javaee6.chapter05.inheritance.ex03.Item03].
Local Exception Stack: 
Exception [EclipseLink-30005] (Eclipse Persistence Services - 1.1.0 (Build 20081209)): org.eclipse.persistence.exceptions.PersistenceUnitLoadingException
Exception Description: An exception was thrown while searching for persistence archives with ClassLoader: sun.misc.Launcher$AppClassLoader@11b86e7
Internal Exception: javax.persistence.PersistenceException: Exception [EclipseLink-28018] (Eclipse Persistence Services - 1.1.0 (Build 20081209)): org.eclipse.persistence.exceptions.EntityManagerSetupException
Exception Description: Predeployment of PersistenceUnit [chapter05PU] failed.
Internal Exception: Exception [EclipseLink-7152] (Eclipse Persistence Services - 1.1.0 (Build 20081209)): org.eclipse.persistence.exceptions.ValidationException
Exception Description: Table per class inheritance is not supported. Entity class [class org.javaee6.chapter05.inheritance.ex03.Item03].
at org.eclipse.persistence.exceptions.PersistenceUnitLoadingException.exceptionSearchingForPersistenceResources(PersistenceUnitLoadingException.java:121)
at org.eclipse.persistence.jpa.PersistenceProvider.createEntityManagerFactory(PersistenceProvider.java:117)
at org.eclipse.persistence.jpa.PersistenceProvider.createEntityManagerFactory(PersistenceProvider.java:64)
at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:123)
at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:99)