Re: optional package?

Поиск
Список
Период
Сортировка
От Barry Lind
Тема Re: optional package?
Дата
Msg-id 3DC01EFF.50008@xythos.com
обсуждение исходный текст
Ответ на optional package?  (Mauro Mozzarelli <mauro@EzPlanet.net>)
Список pgsql-jdbc
Mauro,

Mauro Mozzarelli wrote:
> Hi,
>
> After the latest CVS update, I have been unable to create the driver with the
> "org.postgesql.jdbc2.optional" package that is always omitted.
> What am I doing wrong?
>

Have you followed the instructions in the documentation?  You can access
the current beta docs for the 7.3 drivers from
http://developer.postgresql.org.

> Moreover, can I make a request to move the "optional" into the standard
> package? In fact what is here called "optional" is necessary in order to
> connect to pgsql from an EJB running in an application server (I am testing
> with Websphere). As a general architectural best practice rule we wouldn't
> even want to access the database directly from a JSP/Servlet, but only from
> an EJB module.

No this should stay in the optional package.  This code is not part of
the jdbc2 specification, but it part of an addon to jdbc2 for j2ee.  The
standard package is for the standard jdbc2 spec.  In jdbc3 sun has
changed this so that it is all in one spec.  So if you look under the
jdbc3 code you will see that there it is in the standard package.

thanks,
--Barry




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

Предыдущее
От: ygloriau@siliage.fr
Дата:
Сообщение: Prepared Statement problem
Следующее
От: "RAFA"
Дата:
Сообщение: JDBC Driver & ResultSet.setFetchSize(int rows)