I am using the hibernate3 plugin to create an h2 database. I use this URL:

jdbc:h2:file:${basedir}/target/h2/testdb;REFERENTIAL_INTEGRITY=FALSE

Then I see it translates to:

*[INFO] Finished at: Sun Oct 04 07:57:17 PDT 2009
[yoursos] INFO [Finalizer] DriverManagerConnectionProvider.close(170) |
cleaning up connection pool: jdbc:h2:file:
/Users/mickknutson/svnworkspaces/baselogic/services/data-services/target
/h2/yoursos;REFERENTIAL_INTEGRITY=FALSE
[INFO] Final Memory: 42M/81M
*


But the plugin keeps creating, and using this in my tests and when I have a
DB change, I have to manually delete this database in order for the changes
to take affect:
*/Users/mickknutson/target/**db*

How can I force the database to only be created in my build target DIR?

---
Thank You…

Mick Knutson, President

BASE Logic, Inc.
Enterprise Architecture, Design, Mentoring & Agile Consulting
p. (866) BLiNC-411: (254-6241-1)
f. (415) 685-4233

Website: http://baselogic.com
Linked IN: http://linkedin.com/in/mickknutson
Vacation Rental: http://tahoe.baselogic.com
---

Reply via email to