FATAL pool-4-thread-12 More than one row with the given identifier was found: 3, for class: hierarc
posted 6 years ago
I am doing bulk records import operations ,while importing few records it is failing with the following exception
org.hibernate.HibernateException: More than one row with the given identifier was found: 3, for class: hierarchyLabelParent2hierarchyLabelChildren
i searched google ,enable show_sql and run queries manually one by one i don't find any query is return more than one row and i am using hibernate session.get(entityname,id) some times it is returning object and when i got the exception at that time it will not return anything and getting the above exception ...
i seen all my mapping files and everything fine .. Please share your ideas .. and valuable suggestions ...