Subject Re: [Firebird-Java] NullPointerException comming from org.firebirdsql.jdbc.AbstractPreparedStatement
Author Mark Rotteveel
Roman Rokytskyy wrote:
>> Can anyone shed any light or direction on this issue.
>
> Strange... the NPE can happen only if the prepared statement was closed
> before...
>
> Do you have / can you prepare a small test case to reproduce the issue.

Could also be a combination of a bug in hibernate 2 (which is rather
old) with Jaybird.

But I'd say Jaybird should throw SQLException here if it is called on a
closed statement (according to the Java 6 API), and not a NPE.
--
Mark Rotteveel