following is the dbunit data in pom.xml. But where should I turn off the
default data CLEAN_INSERT? (Thanks for you help :-)):
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>dbunit-maven-plugin</artifactId>
<version>1.0-beta-1</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>
<skip>${maven.test.skip}</skip>
</configuration>
<executions>
<execution>
<id>test-compile</id>
<phase>test-compile</phase>
<goals>
<goal>operation</goal>
</goals>
</execution>
<execution>
<!-- Runs before integration tests and jetty:run-war
-->
<id>test</id>
<phase>test</phase>
<goals>
<goal>operation</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>${jdbc.groupId}</groupId>
<artifactId>${jdbc.artifactId}</artifactId>
<version>${jdbc.version}</version>
</dependency>
</dependencies>
</plugin>
mraible wrote:
>
> You should be able to modify your pom.xml and the dbunit plugin's
> configuration. This might cause Canoo WebTests to fail.
>
> Matt
>
> On Jan 12, 2009, at 7:57 AM, Floggin Molly
> <[email protected]
> > wrote:
>
>>
>> How to turn off CLEAN_INSERT in strutsbasic each time you redeploy
>> with mvn
>> jetty:run-war
>>
>> Br
>>
>> Frank
>> --
>> View this message in context:
>> http://www.nabble.com/How-to-turn-off-CLEAN_INSERT-in-strutsbasic-tp21416003s2369p21416003.html
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>
--
View this message in context:
http://www.nabble.com/How-to-turn-off-CLEAN_INSERT-in-strutsbasic-tp21416003s2369p21417318.html
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]