Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Purchase Order > HibernateException: Illegal attempt to associate a collection with two open sessions #50
Reported by Jesse Paulsen (firstname.lastname@example.org):
This occurs because we are using a different Hibernate session to find or create inventory items associated with the incoming stock. The inventory item cannot be associated with both sessions at the same time. It might be as easy as flushing the temporary session, but I need to investigate further.