Re: Does derby have an embedded Mode like Derby ?

Поиск
Список
Период
Сортировка
От Bill Moran
Тема Re: Does derby have an embedded Mode like Derby ?
Дата
Msg-id 20090804095627.0006843a.wmoran@potentialtech.com
обсуждение исходный текст
Ответ на Re: Does derby have an embedded Mode like Derby ?  (Paul Taylor <ijabz@fastmail.fm>)
Ответы Re: Does derby have an embedded Mode like Derby ?
Список pgsql-general
In response to Paul Taylor <ijabz@fastmail.fm>:

> Sam Mason wrote:
> > On Tue, Aug 04, 2009 at 01:37:34PM +0100, Paul Taylor wrote:
> >
> >> Does postgres have an embedded mode to allow a database to be embedded
> >> with Java application without requiring seperate db manager, like the
> >> derby database does ?
> >
> > No, and I think the consensus is that this would be bad.  See:
> >
> >   http://wiki.postgresql.org/wiki/FAQ#Can_PostgreSQL_be_embedded.3F
>
> Thats a shame, I wanted to write junit test for a java program that
> queried a database, requiring a full database to be available for unit
> tests is not really an environment I want to have.

Has it occurred to you that testing a DB client when there's no
DB isn't really a very accurate or realistic test?

--
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/

В списке pgsql-general по дате отправления:

Предыдущее
От: Paul Taylor
Дата:
Сообщение: Re: Does derby have an embedded Mode like Derby ?
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: parameters in functions and overlap with names of columns