This content has been marked as final.
Show 2 replies
-
1. Re: Arquillian Persistence Extension - Using DBUnit Table Filter
mjobanek Jun 9, 2017 10:41 AM (in response to jhasenbe)Hi,
sorry for late response. Have you solved this issue anyhow? If not and you are still looking for a solution, then maybe bmajsak could help.
-
2. Re: Arquillian Persistence Extension - Using DBUnit Table Filter
bmajsak Jun 9, 2017 12:01 PM (in response to jhasenbe)It's already there, implemented through regular SPI. Have a look at the following:
- Interface for the provider of custom filter arquillian-extension-persistence/TableFilterProvider.java at 270c09cafd954c2bdbf3c5f9c5d9b2b9fe2374f5 · arquillian/arqui…
- Custom implementation providing filter implementation: arquillian-extension-persistence/DefaultDatabaseSequenceFilterProvider.java at 270c09cafd954c2bdbf3c5f9c5d9b2b9fe2374f5 …
- How to enable it arquillian-extension-persistence/arquillian.xml at 270c09cafd954c2bdbf3c5f9c5d9b2b9fe2374f5 · arquillian/arquillian-exte…
Obviously, you will need to implement DBUnit filter interface too http://dbunit.sourceforge.net/xref/org/dbunit/dataset/filter/ITableFilter.htmlITableFilter xref
Let me know if you encounter some problems. More than happy to help!