You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The JDBC compliance requires java.sql.ParameterMetaData to be fully implemented.
This issue is about describing Inputs of a PreparedStatement Object and optionally of a CallableStatement.
The method PreparedStatement.getParameterMetaData returns a ParameterMetaData object describing the parameter markers that appear in the PreparedStatement object. Methods in the ParameterMetaData interface provide information about the number of parameters and their characteristics.
Example:
PreparedStatementpstmt = conn.prepareStatement(
"SELECT * FROM BOOKLIST WHERE ISBN = ?"
);
ParameterMetaDatapmd = pstmt.getParameterMetaData();
intcolType = pmd.getParameterType(1);
AFAIK, we cannot obtain such metainformation from Tarantool right now and it seems we have no ways to emulate this feature on the driver side. I'll move this to JDBC + transactions milestone and will try to elaborate whether we'll support such kind of metainfo in the future.
@nicktorwald Can you please investigate how this usually implemented by other vendors? Whether they allows to obtain parameters metainfo w/o actual operation performing? If no, whether the metainfo is available after an operation?
Activity
Totktonada commentedon May 20, 2019
AFAIK, we cannot obtain such metainformation from Tarantool right now and it seems we have no ways to emulate this feature on the driver side. I'll move this to
JDBC + transactionsmilestone and will try to elaborate whether we'll support such kind of metainfo in the future.@nicktorwald Can you please investigate how this usually implemented by other vendors? Whether they allows to obtain parameters metainfo w/o actual operation performing? If no, whether the metainfo is available after an operation?
Totktonada commentedon May 21, 2019
Blocked on tarantool/tarantool#3292
jdbc: support ParameterMetaData class
jdbc: support ParameterMetaData class
jdbc: support ParameterMetaData class