Re: Re: JDBC and security

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Re: JDBC and security
Дата
Msg-id 200106291915.f5TJFt110528@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: JDBC and security  (Barry Lind <barry@xythos.com>)
Список pgsql-jdbc
> Since this is the second report of problems with this 'feature' I
> decided to look into this some more.  This code isn't even doing
> anything.  The shutdownhook gets registered, but it doesn't do anything.
>
> You can safely comment out the ShutdownHook registration and rebuild.
> You can also build with a 1.2 JDK which builds without this feature.
>
> I will submit a patch that removes this 'feature'.  I will do this because:
>
> 1) It isn't implemented anyway (the necessary changes to Connection
> where never done).
> 2) It has the problem reported here and previously with running under a
> security manager
> 3) I don't feel there is any real benefit to the functionality provided
> 4) This is the only reason there is a separate jar file created for 1.3
> JDKs.  I think the fewer different jar files we have the better.  It is
> too confusing to have too many different code bases.  There are
> currently different builds for 1.1, 1.2, 1.3 and 1.2enterprise JDKs.
> The 1.1 and 1.2 are necessary because the JDBC spec changed
> significantly between those two releases (i.e. jdbc1 vs jdbc2).

Agreed.  If we really need it we can add it later.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

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

Предыдущее
От: Barry Lind
Дата:
Сообщение: Re: JDBC and security
Следующее
От: 이주형
Дата:
Сообщение: JDBC 2 question --- NoClassDefFoundError in Poolman