I have a situation where I think the best business object model makes use of an abstract base class. There are then two sub-classes of this class that will get persisted to a single table in the database.
I have set up Hibernate to be aware of the base class and it's two sub-classes. Everything appears to be operating as I would expect except I noticed the following output from Hibernate during initialization [names changed to protect the innocent]:
2003-09-11 15:59:40,140 [main] INFO net.sf.hibernate.util.ReflectHelper - reflection optimizer disabled for: com.mycompany.ols.bizobj.Foo, InstantiationError: com.mycompany.ols.bizobj.Foo
Considering this is an INFO message, Is this a reasonable thing to ignore?
I would be happy to NOT tell Hibernate about the base, but stlil have the same two classes map to a single table in a clean manner. Is this possible? Is it preferred?
Thanks in advance. This is really a fine product that I intend to evangelize.
Cheers,
-Andre'
|