Re: Does derby have an embedded Mode like Derby ?

From: Karsten Hilbert <Karsten(dot)Hilbert(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Does derby have an embedded Mode like Derby ?
Date: 2009-08-04 15:49:16
Message-ID: 20090804154916.GI10341@merkur.hilbert.loc
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message pepone.onrez 2009-08-04 15:59:48 Re: Does derby have an embedded Mode like Derby ?
Previous Message Richard Sickler 2009-08-04 15:48:00 Re: Does derby have an embedded Mode like Derby ?