core and dbunit configuration has been splitted a while back, all dbunit properties should be defined using "persistence-dbunit" qualifier, have you tried it this way?
Here's the reference https://docs.jboss.org/author/display/ARQ/Persistence
With regards to the first question please file feature request in JIRA and I'll be happy to provide it
Any update on this problem?
Thank you for your reply. Your reply is partitialy helpfull. I have found the mistake I made in the configuration. I have changed it now in two seperate configurations one for persistence and one for persistence-dbunit.
Now I am running into another problem. Althrough I have thr oracle ojdbc6-220.127.116.11.0.jar configured in the pom.xml as test dependency I get the following Exception:
13:11:08,359 WARN [org.jboss.modules] (pool-8-thread-1) Failed to define class org.dbunit.ext.oracle.OracleSdoGeometry in Module "deployment.arquillian-service:main" from Service Module Loader: java.lang.LinkageError: Failed to link org/dbunit/ext/oracle/OracleSdoGeometry (Module "deployment.arquillian-service:main" from Service Module Loader)
with as root cause
Caused by: java.lang.ClassNotFoundException: oracle.sql.ORAData from [Module "deployment.arquillian-service:main" from Service Module Loader]
I believe you need to add this dependency to the shrinkwrap test deployment. This guide should help https://community.jboss.org/wiki/HowToIAddMavenArtifactsToMyShrinkWrapArchives
Let me know if there is anything else I can help with.
With regards to dbunit assertion object injection to the test class - can you provide me some sample code you would like to execute in the test?
I'm still not sure which objects from dbunit we should expose. I was thinking more about DbUnitAssert or maybe some facade for that.
I have reduced the error so far that it is only thrown when I turn on the following setting in the arquillian.xml file:
I assume the problems have something to do with the way DBUnit loads these classes
I have tried to add dbunit and oracle to the classpath in the shrinkwrap configuration. That didn't resolve the problem. I have also tried to add them as a module but that doesn't work either.
For the project I am working on now I don't really need this configuration parameter. I can do without it for now. It will however be a problem for those people who use oracle specific columns like the XMLTYPE column.
This might be solely DBUnit problem, see http://stackoverflow.com/questions/10835024/dbunit-ant-is-not-finding-oracle-sql-oradata-even-though-its-in-the-jar-file
Strange stuff indeed. Have you tried with some other versions of the driver?
Has this problem been solved? I am experiencing the same problem. Below is the content of my arquillian.xml file. I will be very grateful for any help. Thank you.
<defaultProtocol type="Servlet 3.0" />
<container qualifier="jbossas-managed" default="true">
<!-- <property name="defaultDataSetLocation">"datasets/"</property>-->