Hi everyone,
my question is not directly related to AndroMDA but maybe someone can give me a hint. We are working with detached Hibernate objects (Spring Services published by HTTPInvoker). We have a BookingEntity, containing BookingEntryEntities. A BookingEntryEntity has a sender and a receiver which both are PersonEnties. The frontend provides a list containing all possible PersonEntities. After selecting the sender and receiver, the BookingEntity is saved via BookingDAO.save(BookingEntity) (generated by AndroMDA and invoked by a published Service). But I get an Exception :
net.sf.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session:
It states, that the PersonEntity I selected to be the sender/receiver of the BookingEntryEntity is already associated with the session (probably due to the loading of the list for the frontend). And here I am stucked. Does anybody know why this is?
Thanks in advance,
Stefan
