Unsupported Methods in Embedded Java API
Certain JDBC methods, supported by the external NuoDB JDBC driver (nuodbjdbc.jar
), are not currently supported by the Embedded Java API used for NuoDB Java stored procedures, triggers, and user defined functions. The following table lists methods that are supported in the external NuoDB JDBC driver but which are not currently supported by the Embedded Java API. Some of these methods actually do nothing in the NuoDB JDBC driver, but are accepted syntactically; these are noted as such. The methods in this table should be avoided in JDBC clients which the user may want in the future to convert to a NuoDB Java stored procedure, trigger, or user defined function.
Class | Method Unsupported in Embedded Java API | Notes |
---|---|---|
Connection |
||
|
||
|
||
|
||
|
This method does nothing in NuoDB JDBC driver. |
|
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
This method returns a hardcoded answer in NuoDB JDBC driver. |
|
|
This method returns a hardcoded answer in NuoDB JDBC driver. |
|
|
This method returns a hardcoded answer in NuoDB JDBC driver. |
|
CallableStatement |
||
|
||
|
||
|
||
|
||
|
||
|
||
DatabaseMetaData |
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
This method returns a hardcoded answer in NuoDB JDBC driver. |
|
|
||
|
||
|
This method returns a hardcoded answer in NuoDB JDBC driver. |
|
|
||
|
This method returns a hardcoded answer in NuoDB JDBC driver. |
|
|
||
|
||
PreparedStatement |
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
Same as |
|
|
Same as |
|
|
Same as |
|
ResultSet |
The NuoDB JDBC driver only exposes read-only result sets. The embedded JDBC driver allows users to modify the result set representing the return value. |
|
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
This method returns a hardcoded answer in NuoDB JDBC driver. |
|
|
This method returns a hardcoded answer in NuoDB JDBC driver. |
|
|
This method returns a hardcoded answer in NuoDB JDBC driver. |
|
|
This method returns a hardcoded answer in NuoDB JDBC driver. |
|
|
This method returns a hardcoded answer in NuoDB JDBC driver. |
|
|
This method returns a hardcoded answer in NuoDB JDBC driver. |
|
|
This method returns a hardcoded answer in NuoDB JDBC driver. |
|
|
||
|
This method returns a hardcoded answer in NuoDB JDBC driver. |
|
|
||
|
||
ResultSetMetaData |
||
|
||
|
||
|
||
|
This method returns a hardcoded answer in NuoDB JDBC driver. |
|
Statement |
||
|
||
|
||
|
||
|
||
|
This method returns a hardcoded answer in NuoDB JDBC driver. |
|
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
This method returns a hardcoded answer in NuoDB JDBC driver. |
|
|
This method returns a hardcoded answer in NuoDB JDBC driver. |
|
|
||
|
||
|
This method returns a hardcoded answer in NuoDB JDBC driver. |
|
|
This method returns a hardcoded answer in NuoDB JDBC driver. |
|
|
||
|
||
|
This method returns a hardcoded answer in NuoDB JDBC driver. |
|
|
This method does nothing in NuoDB JDBC driver. |
|
|
This method returns a hardcoded answer in NuoDB JDBC driver. |
|
|
This method does nothing in NuoDB JDBC driver. |
|
|
This method returns a hardcoded answer in NuoDB JDBC driver. |
The class ParameterMetaData has more support in the NuoDB Embedded Java API. ParameterMetaData in the NuoDB external JDBC driver only gives you the number of parameters in a prepared statement, and the names of the arguments of the stored procedure in a CALL /EXECUTE statement. In the Embedded Java API ParamaterMetaData also provides the type and precision of these arguments, i.e. access to getParameterName() , getParameterTypeName() , getParameterType() , getScale() , getPrecision() , isNullable() and getParameterMode() of the ParameterMetaData interface are exposed. The only ParameterMetaData method we don’t support in the Embedded Java API is getParameterClassName() .
|