Re: Does derby have an embedded Mode like Derby ? - Mailing list pgsql-general

From Karsten Hilbert
Subject Re: Does derby have an embedded Mode like Derby ?
Date
Msg-id 20090804154916.GI10341@merkur.hilbert.loc
Whole thread Raw
In response to Re: Does derby have an embedded Mode like Derby ?  (Paul Taylor <ijabz@fastmail.fm>)
Responses Re: Does derby have an embedded Mode like Derby ?  ("pepone.onrez" <pepone.onrez@gmail.com>)
List pgsql-general
On Tue, Aug 04, 2009 at 04:04:42PM +0100, Paul Taylor wrote:

> >You don't really need to run an installer and/or create registry
> >entries (for windows). This would then resemble more the Derby
> >network server setup.
> Yeah, but this is messy and low because you have to wait the
> database to be fully initilized before running the test. And for
> unit tests you should be start the database for each test, but
> wouldnt be possible with your method it would be to slow.

One could drop and re-create the databases as needed. No
need to re-initdb the cluster or even stop the PostgreSQL
process. That wouldn't be slow.

Karsten
--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346

pgsql-general by date:

Previous
From: Thomas Kellerer
Date:
Subject: Re: Does derby have an embedded Mode like Derby ?
Next
From: Richard Sickler
Date:
Subject: Re: Does derby have an embedded Mode like Derby ?