dbunit-maven-plugin, 1.0-beta-3, escapePattern

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

dbunit-maven-plugin, 1.0-beta-3, escapePattern

Christoph Neumann

Hi!

 

I have a question about dbunit-maven-plugin (I am using 1.0-beta-3).

 

The online documentation tells me that escapePattern is supported:

http://mojo.codehaus.org/dbunit-maven-plugin/operation-mojo.html

 

I want to configure via Maven the equivalent to

dbConfig.setProperty(DatabaseConfig.PROPERTY_ESCAPE_PATTERN, "\"?\"");

 

However, in XML I did try several combinations, but none of them did have any influence on the quoting:

 

                <groupId>org.codehaus.mojo</groupId>

                <artifactId>dbunit-maven-plugin</artifactId>

                <version>1.0-beta-3</version>

                <configuration>

                    <dataTypeFactoryName>${dbunit.dataTypeFactoryName}</dataTypeFactoryName>

                    <driver>${jdbc.driverClassName}</driver>

                    <username>${jdbc.username}</username>

                    <password>${jdbc.password}</password>

                    <url>${jdbc.url}</url>

                    <src>src/test/resources/sample-data.xml</src>

                    <type>${dbunit.operation.type}</type>

                    <schema>${dbunit.schema}</schema>

                    <escapePattern>"?"</escapePattern>

                    <!-- "?" -->

                    <!-- \"?\" -->

                    <!-- &quot;?&quot; -->

                    <!-- \&quot;?\&quot; -->

                    <!-- &quot; -->

                    <!-- \&quot; -->

                    <!-- " -->

                    <!-- \" -->

                </configuration>

 

Is the dbunit-maven-plugin option escapePattern probably broken, or am I missing something?

 

Kind regards

Christoph

 


------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
dbunit-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/dbunit-user