|[Teneo] Problem using JOINED value for PersistenceOptions.INHERITANCE_MAPPING [message #603905]
||Tue, 27 March 2007 21:30
| Mark Geib
Registered: July 2009
I have a problem in that my model has sub-classes which have attributes of
the same name, but different types. So using the default SINGLE_TABLE will
I tried to set the PersistenceOptions.INHERITANCE_MAPPING to JOINED, but
then have a problem in that there seems to be a limit in mysql that
prevents accessing my objects when there are more than 61 tables in a
So, can I use TABLE_PER_CLASS.? If so how do I handle the issue with not
being able to use generated column keys...?
I get this when I use TABLE_PER_CLASS..
Exception in thread "main" org.hibernate.MappingException: Cannot use
identity column key generation with <union-subclass> mapping for:
Powered by FUDForum
. Page generated in 0.02259 seconds