You would probably have to create the full schema. Fortunately with
Kodo, it can create the classes as needed so we have a little control. 
 

-----Original Message-----
From: Michael Heuer [mailto:[EMAIL PROTECTED] On Behalf Of
Michael Heuer
Sent: Wednesday, November 09, 2005 4:47 PM
To: Maven Users List
Subject: Re: How to make self contained database dependant unit tests in
maven 2?


 Chris Richardson wrote:

> On 11/9/05, Brian E. Fox <[EMAIL PROTECTED]> wrote:
> >
> > 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?
>
> You configure Hibernate/Kodo JDO to create the schema on startup and 
> point the DataSource at hsqldb.
> Use the org.hsqldb.jdbcDriver with this URL: jdbc:hsqldb:mem:testdb - 
> this connects to an in-memory database.

A related but list-off-topic question, would you know how to create the
schema as part of the test if one is not using Hibernate/Kodo JDO, if
one just has the DDL as a SQL script?

   michael


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



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

Reply via email to