use the absolute path of the module's local target dir so for example local target dir is C:/data/test then specify jdbc:h2:file:C:/data/test
Martin Gainty ______________________________________________ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Thu, 20 Aug 2009 09:25:18 -0400 > Subject: Re: issue with Hibernate 3 plugin creating H2 plugin in wrong > location > From: [email protected] > To: [email protected] > > Next, here is my issue piece by piece to get past the grinch. > > I have the following hibernate 3 plugin: > > ... > <artifactId>hibernate3-maven-plugin</artifactId> > ... > <component> > <name>hbm2hbmxml</name> > > <outputDirectory>target/classes</outputDirectory> > </component> > ... > > <propertyfile>src/test/resources/database.properties</propertyfile> > ... > <goals> > <goal>hbm2ddl</goal> > </goals> > ... > > > Using this h2 URL: > jdbc:h2:file:target/h2/testdb;REFERENTIAL_INTEGRITY=FALSE > > > I have also tried to pre-pend ${basedir}/ but I still get my h2 database > created in: > > C:\Documents and Setting\[user id]\target\h2** > > How can I get this put into the module's local 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 > --- > > > > On Thu, Aug 20, 2009 at 9:22 AM, Mick Knutson <[email protected]> wrote: > > > first off, why does my post keep getting rejected as SPAM? > > > > --- > > 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 > > --- > > > > _________________________________________________________________ Hotmail® is up to 70% faster. Now good news travels really fast. http://windowslive.com/online/hotmail?ocid=PID23391::T:WLMTAGL:ON:WL:en-US:WM_HYGN_faster:082009
