H!
Thanks. It worked! I first run the default mvn jetty:run-warand restart
only with your segestion. Then nothing is changed in the DB.
But, still...there should be an option to let the DB stay...and still run
tests.
Br
Frank...i frzing norwegian...
Matteo Villari wrote:
>
> Try ski
Try skipping tests:
mvn jetty:run-war -Dmaven.test.skip=true
Matteo
Floggin Molly ha scritto:
How to turn off CLEAN_INSERT in strutsbasic each time you redeploy with mvn
jetty:run-war
Br
Frank
-
To unsubscribe, e-mail:
Hi
It still erases the data I put into the DB, when jetty is restarted.
I have the following values for db-properties:
org.dbunit.dataset.datatype.DefaultDataTypeFactory
CLEAN_INSERT
org.hibernate.dialect.MySQL5InnoDBDialect
mysql
mysql-connector-java
5.0
Try changing this:
test-compile
test-compile
operation
test
test
operation
To this:
Hi...sorry, I should be more precise.
I mean..my problem is that when I start the jetty, the default data is
loaded into the database...and the data I have added the last time the jetty
was running..is deleted. So..each time I restart the database..the DB is
restored to default datahow can I
Change the property at the bottom of your pom.xml.
Matt
On Mon, Jan 12, 2009 at 9:04 AM, Floggin Molly <
frank.rene.soren...@hotmail.com> wrote:
>
> following is the dbunit data in pom.xml. But where should I turn off the
> default data CLEAN_INSERT? (Thanks for you help :-)):
>
>
>
following is the dbunit data in pom.xml. But where should I turn off the
default data CLEAN_INSERT? (Thanks for you help :-)):
org.codehaus.mojo
dbunit-maven-plugin
1.0-beta-1
${dbunit.dataTypeFactoryName}
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 > wrote:
How to turn off CLEAN_INSERT in strutsbasic each time you redeploy
with mvn
jetty:run-war
Br
Frank
--
View
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.