Subject Re: how to insert??
Author Roman Rokytskyy
> is this what you mean by stack trace?

Yes.

> Exception in thread "main" java.lang.NullPointerException
> at
>
org.firebirdsql.jdbc.FBPreparedStatement.prepareFixedStatement(FBPreparedStatement.java:702)

>
> at
> org.firebirdsql.jdbc.FBStatement.internalExecute(FBStatement.java:930)
> at org.firebirdsql.jdbc.FBStatement.executeQuery(FBStatement.java:102)
> at testjdbc.main(testjdbc.java:72)

Can you post complete code of the main(String[]) method of
testjdbc.java (or simply full testjdbc.java)? From the stack trace I
see that for some reason Statement.executeQuery() is called, and it
shouldn't.

Best regards,
Roman Rokytskyy