Hibernate version:2.16
We have the following structure:
A message driven bean receives a JMS message with an ID number on it.
The MDB uses that ID number to load up an instance using hibernate, then changes a few values on the instance.
The MDB then calls a method on a session bean to (amongst other things) save the instance, passing the above instance as a parameter.
The save fails due to a non-unique object exception.
Quick question - am I getting this because due to the fact the EJB call has to serialize and unserialize the objects, i.e. its passing in a copy of the instance not a copy of the reference to the instance as in a usual method call ?
_________________ On the information super B road
|