Re: Does derby have an embedded Mode like Derby ?

Поиск
Список
Период
Сортировка
От Thomas Kellerer
Тема Re: Does derby have an embedded Mode like Derby ?
Дата
Msg-id h59for$25m$1@ger.gmane.org
обсуждение исходный текст
Ответ на 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
Paul Taylor, 04.08.2009 15:48:
> 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.

Well if you want to test the database, you will need a full database.


But you can easily setup and start a Postgres server through a batch file/shell script.
I have a small batch file that simply uses the binary ZIP distribution to run initdb and create the initial databases.
Weare using this to bundle Postgres e.g. with a Tomcat web application.  

You don't really need to run an installer and/or create registry entries (for windows). This would then resemble more
theDerby network server setup. 

Thomas


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

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