Joined: Mon Nov 17, 2003 10:53 am Posts: 15
|
hi,
i am getting the following exception when i try
to use Session.saveOrUpdateCopy. the interesting
part on it does not happen if i use simply
Session.save which is even more interesting since
i am quite sure that i have closed the session i loeaded
the object from.
<stacktrace>
java.lang.ClassCastException
at net.sf.hibernate.type.EntityType.resolveIdentifier(EntityType.java:213)
at net.sf.hibernate.type.EntityType.copy(EntityType.java:141)
at net.sf.hibernate.type.TypeFactory.copy(TypeFactory.java:284)
at net.sf.hibernate.impl.SessionImpl.doCopy(SessionImpl.java:3990)
at net.sf.hibernate.impl.SessionImpl.saveOrUpdateCopy(SessionImpl.java:3938)
</stacktrace>
any suggestions?
and "yes i have read the FAQ" and i have created the
exluded.properties file. no change thou.
thanks robertj
|
|