Thanks a Lot Matt. :)
That worked very well.
I used "REFRESH" and removed existing entries from sample-data.xml to avoid
override.
Regards
Balaji
mraible wrote:
>
> If you don't want the database deleted, you'll need to remove
> true from your pom.xml. You'll probably want to change
> CLEAN_IN
If you don't want the database deleted, you'll need to remove
true from your pom.xml. You'll probably want to change
CLEAN_INSERT to something else as well.
Matt
On 5/25/07, nmall <[EMAIL PROTECTED]> wrote:
If you add createDatabaseIfNotExist to your jdbc.url as below , it creates it
only if i
If you add createDatabaseIfNotExist to your jdbc.url as below , it creates it
only if it does not exist.
HTH
Balaji D Loganathan wrote:
>
> Thanks Luke,
> Thats help.
> Just wondering is there is a way where I can still run the unit tests and
> integration tests without clearing the datab
Thanks Luke,
Thats help.
Just wondering is there is a way where I can still run the unit tests and
integration tests without clearing the database ?
For unit test we use inmemory hsql db, so thats not an issue.
Thanks,
Balaji
--
View this message in context:
http://www.nabble.com/How-to-avoid-
The data is overwritten every time the dbunit runs, so you have at least two
options.
1) To add you information to the test/resources/sample-data.xml so that it
loaded each time so it does not matter if it is overwritten.
2) run without running the tests by adding the -Dmaven.test.skip to the
co
Hi,
Hope this question is not asked already. (i did searched). :)
I am using appfuse-spring-basic and every time i build my app using mvn
clean package, its dropping the entire database tables (app_user, role & my
tables) and creating a new one with new datas. I would like to have the
tables not