Since, this post the problem has dissolved. I have not been able to replicate the problem again. I suspect that the issue was with inherited implementation of Serializable interface.
p7k wrote: > > Dear users, > > I have a polymorphic situation: a Location (abstract) superclass > with Depot (concrete) and Customer (concrete) subclasses . > I have tried and succeeded in mapping this inheritance using > annotations wit both JOINED and TABLE_PER_CLASS strategies. > > But as I run unit tests, I have encountered a problem: using > getHibernateTemplate().saveOrUpdate(Location) returns an error http:// > pastebin.com/m6fa1f020 > > getHibernateTemplate().save(Location) appears to be working > correctly, as I was able to save Customer and Depot objects and get > correct class recognition all through the locationDao which extends > appfuse's GenericDao<Location, Long>. > > I could use any information and suggestions on this issue, whether is > an expected behavior and why, or possible places to start debugging. > > Thank you very much, > > Pavel > -- View this message in context: http://www.nabble.com/Hibernate-polymorphism-issues-tf4226940s2369.html#a12084139 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
