The power that Hibernate provides is both compelling and elusive: It's
clearly a better solution than using CMP. It seems to be very commonly used
with EJB session beans by users in the real world. But it's elusive in that
the gotchas are not well documented, and the documentation rarely states
I'll guess that Hibernate tries to assign an object via
setPropertyValues where the types does not match.
What is the type defined in the hbm.xml and what is the code/definition
of setPropertyValues ? That would make it easier to help.
/max
p.s. this kind of questions are for the forum - not t
Hi all,
I'm getting the following error and looking for experience from others on the
best way to debug it:
java.lang.ClassCastException
at
org.dentaku.modules.general.entity.ContactMetaClass4.setPropertyValues()
at
net.sf.hibernate.persister.AbstractEntityPersister.setPropertyVal