This content has been marked as final.
Show 3 replies
-
1. Re: Getting javax.persistence.NonUniqueResultException
adamw Nov 29, 2010 9:40 AM (in response to rodrigo.uchoa)Not really ... which version of Envers? Is it reproducible with a test?
Adam -
2. Re: Getting javax.persistence.NonUniqueResultException
rodrigo.uchoa Dec 1, 2010 6:43 AM (in response to adamw)Hi Adam,
It´s version 1.2.2. The problem misteriously vanished after a full database recreate. Do you think it might have something to do with corrupted data? One-to-one relationships that were actually one-to-many due to lack of unique constraints.
Thank you!
-
3. Re: Getting javax.persistence.NonUniqueResultException
adamw Dec 1, 2010 1:03 PM (in response to rodrigo.uchoa)It must have been ... a duplicate record somewhere - that's what the exception would suggest.
Next time maybe try to look for records with duplicate ids.
Adam