-
1. Re: Unable to clean database - Foreign Key Referential integrity constraint violation
bmajsak Jul 11, 2014 8:22 AM (in response to cezarygerard)Can you share your case somehow? (GitHub for example)
I will investigate.
-
2. Re: Unable to clean database - Foreign Key Referential integrity constraint violation
sbiermann Jul 17, 2014 8:28 AM (in response to bmajsak)Hi,
i have the same problem. i have make a short github project based on my project. You can find it here: sbiermann/arquillian-persistence-test · GitHub
-
3. Re: Unable to clean database - Foreign Key Referential integrity constraint violation
bmajsak Aug 29, 2014 4:55 AM (in response to sbiermann)Thanks for sharing. I will look at it this weekend.
-
4. Re: Unable to clean database - Foreign Key Referential integrity constraint violation
luc4 Nov 14, 2014 8:12 AM (in response to cezarygerard)Any news on this? I face the same issue when i try to upgrade to alpha 7.
-
5. Re: Unable to clean database - Foreign Key Referential integrity constraint violation
tvibes Nov 15, 2014 10:43 AM (in response to cezarygerard)Cezay Cezay a écrit:
But until recently everything worked just fine, without @Cleanup. My problem is that I will have to annotate and create hundreds of datasets used in tests.
The Cleanup startegy can be set globally in arquillian.xml. The default is 'STRICT' but you can set 'USED_TABLES_ONLY' and you won't need to annotate each test class:
Persistence - Arquillian - Project Documentation Editor
Though, I don't know why the upgrade to alpha7 version breaks your tests.