Closing a statement

Поиск
Список
Период
Сортировка
От Kim Ho
Тема Closing a statement
Дата
Msg-id 1056648479.28653.9.camel@topanga.toronto.redhat.com
обсуждение исходный текст
Ответы Re: Closing a statement  (Barry Lind <blind@xythos.com>)
Список pgsql-jdbc
After running the JDBC Compatibility Test Suite, I've found that
statements aren't actually closed when you use stmt.close(). If you try
to execute a closed statement, it _should_ throw an SQLException, but
doesn't.

Besides the freeing of resources (which is already handled in close()
but m_binds[] should probably be freed as well), certain operations
should be disallowed.

I was thinking of all set/get/execute operations.

Any suggestions/comments?

Cheers,

Kim


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

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: [PATCHES] IPv6 patch doesn't work fine
Следующее
От: Barry Lind
Дата:
Сообщение: Re: Closing a statement