What is the cause of the errors "nested exception is org.hibernate.HibernateException: Found shared references to a collection"?

    1 answer 1

    The reason is that hibernate trying to save an object that refers to an object that does not exist in the database!

    • No, heber clearly writes that one collection has appeared in several entities. - Monk
    • I managed to correct the error when I started using 2 different collections to store the same type of entities in the same method - Vladislav Bublik