Is there a schema parameter for the jdbc URL ?

Поиск
Список
Период
Сортировка
От Sven Hafner
Тема Is there a schema parameter for the jdbc URL ?
Дата
Msg-id 4B639C25.5060501@gmx.de
обсуждение исходный текст
Ответы Re: Is there a schema parameter for the jdbc URL ?  (Maciek Sakrejda <msakrejda@truviso.com>)
Список pgsql-jdbc
Hi !

Asked the same question previously in the Glassfish forum, but I dont
get it to work. Not sure if it is a GF or postgres jdbc issue/feature.

Can I use the schema in the jdbc URL ?

My GF mailing-list question for reference:
I create a connection pool and connection pointing to a PostgreSQL DB.
Is there a way to point to a specific schema inside the DB (like a
schema parameter) ? I need to avoid a schema annotation inside the EJB
code, so I can point several instances of the same application (but
different PU pointing to different jndi jdbc resource)
to different schemes in the same postgres instance.

Glassfish V3 and PostgreSQL 8.4
postgresql-8.4-701.jdbc3.jar

Thanks for input
Sven

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

Предыдущее
От: Andrew Lindesay
Дата:
Сообщение: Re: LIKE and ESCAPING in JDBC Select Statement
Следующее
От: Maciek Sakrejda
Дата:
Сообщение: Re: Is there a schema parameter for the jdbc URL ?