Funny you should mention that. I just stumbled upon this myself. Do you
need to execute anything before hand to setup the hsqldb or do you just
point the jdbc connection at it? 

-----Original Message-----
From: Chris Richardson [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 09, 2005 2:06 PM
To: Maven Users List
Subject: Re: How to make self contained database dependant unit tests in
maven 2?

I use HSQL DB (http://hsqldb.org/) for testing with both Kodo JDO and
Hibernate.
It works well and is very fast.
This is what I have in my pom.xml

<dependency>
  <groupId>hsqldb</groupId>
  <artifactId>hsqldb</artifactId>
  <version>1.7.2.2 <http://1.7.2.2></version>
  <scope>test</scope>
 </dependency>

Chris


--
Enterprise POJO consulting - http://www.chrisrichardson.net Author,
POJOs in Action - http://www.manning.com/crichardson
Enterprise POJOs blog - http://chris-richardson.blog-city.com

On 11/9/05, Brian E. Fox <[EMAIL PROTECTED]> wrote:
>
> We currently have a system that uses JDO (Kodo implementation) for our

> persistence layer. In order to test these persistent classes, I need 
> to have a JDBC driver and compliant database running. I would really 
> like to make the process completely self contained like the Maven 
> Wagon builds. ie download a jar from somewhere that gives me an ultra 
> light db implementation and jdbc driver and run my tests on it.
>
> Does anyone know if such a thing exists and where I might find it?
> Alternatively, does anyone know of any decent file based jdbc drivers 
> that are open source?
>
> Thanks.
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to