Subject Re: [Firebird-Java] Re: CallableStatement.getParameterMetaData() fails
Author Roman Rokytskyy
> According to the JDBC spec, I don't believe that calling
> registerOutParam(int, int) is a requirement for getParameterMetaData()
> to work. Am I wrong?

No, but on page 11 of JayBird 1.5.5 release notes, third paragraph states:

"Using java.sql.ParameterMetaData with Callable Statements

This interface can be used only to obtain information about the IN
parameters. Also it is not allowed to call the
PreparedStatement.getParameterMetaData method before all of the OUT
parameters are registered. Otherwise the corresponding method of
CallableStatement throws an SQLException, because the driver tries to
prepare the procedure call with incorrect number of

This is current JayBird/Firebird limitation.