Hibernate version:
2.1
Mapping documents:
Code between sessionFactory.openSession() and session.close():
Full stack trace of any exception that occurs:
Name and version of the database you are using:
DB2 8
Debug level Hibernate log excerpt:
I have a component in an entity that is abstract. The properties for the components are the abstract getters.
First off, components cannot be polymorphic correct?
http://forum.hibernate.org/viewtopic.ph ... +component
I have seen in a previous post where Gavin mentioned that this may be achieved using a CompositeUserType?
http://forum.hibernate.org/viewtopic.ph ... +component
Are there any examples of such case ? or any advice on this matter?
I am curious how nullSafeGet/Set can be implemented if the actual subclasses will need to be referred to?
Any advice is greatly appreciated.