Subject | Re: [Firebird-Java] Re: CallableStatement.getParameterMetaData() fails |
---|---|
Author | Roman Rokytskyy |
Post date | 2005-03-04T20:17:46Z |
> According to the JDBC spec, I don't believe that callingNo, but on page 11 of JayBird 1.5.5 release notes, third paragraph states:
> registerOutParam(int, int) is a requirement for getParameterMetaData()
> to work. Am I wrong?
"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
parameters."
This is current JayBird/Firebird limitation.
Roman