Void setObject(String parameterName, Object x, SQLType targetSqlType, int scaleOrLength) Void setObject(String parameterName, Object x, SQLType targetSqlType) Implemented as described in the interface. There are 6 new (overloaded) methods to support the new SQLType interface. RegisterOutParameter(String parameterName, SQLType sqlType, String typeName) Void registerOutParameter(String parameterName, SQLType sqlType, int scale) Void registerOutParameter(String parameterName, SQLType sqlType) Void registerOutParameter(int parameterIndex, SQLType sqlType, String typeName) Void registerOutParameter(int parameterIndex, SQLType sqlType, int scale) Void registerOutParameter(int parameterIndex, SQLType sqlType) SQLServerCallableStatement class New Methods This method throws a not supported exception if greater than max integer size is passed as the parameter. SQL Server only supports integer limits for max rows. Sets the maximum number of rows as a long value that the ResultSet can contain. Retrieves the current result as a long update count. Retrieves the maximum number of rows as a long value that the ResultSet can contain. There are 4 new (overloaded) methods to support long update count. Long executeLargeUpdate(String sql, int columnIndexes)ĮxecuteLargeUpdate(String sql, String columnNames)Įxecutes a DML/DDL statement where returned update counts can be long. Long executeLargeUpdate(String sql, int autoGeneratedKeys) SQLServerStatement class New MethodsĮxecutes batch where returned update counts can be long. The Java Database Connectivity API 4.2 specification is supported by the Microsoft JDBC Driver 4.2 for SQL Server, with the following API methods. This section does not apply for versions prior to the 4.2 release. Versions prior to Microsoft JDBC Driver 4.2 for SQL Server are compliant for Java Database Connectivity API 4.0 specifications.
0 Comments
Leave a Reply. |