JDBC: Runtime.addShutdoiwnHooks()

Поиск
Список
Период
Сортировка
От Ralf Edmund Stranzenbach
Тема JDBC: Runtime.addShutdoiwnHooks()
Дата
Msg-id 006401c0f1ee$d8531d50$032aa8c0@gwenhwyfar
обсуждение исходный текст
Список pgsql-hackers
Hi,
 
today I had a little problem with the actual JDBC driver. Due to the use of Runtime.addShutdownHooks(), which throws a SecurityException if used within a servlet container (WebLogic Server 5.1 & 6.0), the postgres JDBC driver is unusable in this environments. I spent some minutes looking at the code and came to the conclusion, that ConnectionHook should TRY to register itself, but without the sufficient permissions it should go on without throwing exceptions.
 
The modified ConnectionHook worked fine for me and my application operates very well from within the WLS container.
 
With regards,
    Ralf E. Stranzenbach
 

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

Предыдущее
От: "Dale Johnson"
Дата:
Сообщение: Re: Re: REPLACE INTO table a la mySQL
Следующее
От: "Josh Berkus"
Дата:
Сообщение: Re: Re: [SQL] behavior of ' = NULL' vs. MySQL vs. Standards