JDBC Driver for SQL/MX Programmer's Reference
Connection.prepareStatement(String
sql, int autoGeneratedKeys)
Connection.prepareStatement(String
sql, int[] columnIndexes)
Connection.prepareStatement(String
sql, String[] columnNames)
Automatically generated
keys are not supported.
Statement.execute(String sql, int
autoGeneratedKeys)
Statement.execute(String sql, int[]
columnIndexes)
Statement.execute(String sql,
String[] columnNames)
Statement.executeUpdate(String sql,
int autoGeneratedKeys)
Statement.executeUpdate(String sql,
int[] columnIndexes)
Statement.executeUpdate(String sql,
String[] columnNames)
Statement.getGeneratedKeys()
Automatically generated
keys are not supported.
The following methods in the java.sql package throw an SQLException with the message "Data type not supported:"
Method Comments
CallableStatement.getBytes(int
parameterIndex)
CallableStatement.getBytes(String
parameterName)
The particular data type is not
supported.
CallableStatement.setBytes(String
parameterIndex, bytes[] x)
Supports only BLOB,
VARCHAR, BINARY,
LONGVARCHAR,
VARBINARY, and
LONGVARBINARY;
otherwise, the particular data
type is not supported.
PreparedStatement.setBytes(int
ColumnIndex, bytes[] x)
Supports only BLOB, CHAR,
VARCHAR, BINARY,
LONGVARCHAR,
VARBINARY, and
LONGVARBINARY;
otherwise, the particular data
type is not supported.
PreparedStatement.setObject(int
parameterIndex, Object x int
targetSqlType)
PreparedStatement.setString(int
parameterIndex, String x)
Does not support the ARRAY,
BINARY, BIT, DATALINK,
JAVA_OBJECT, and REF
types.
ResultSet.getBytes(int
ColumnIndex)
ResultSet.getBytes(String
ColumnName)
Supports only BLOB, CHAR,
VARCHAR, BINARY,
LONGVARCHAR,
VARBINARY, and
LONGVARBINARY;
otherwise, the particular data
type is not supported.
The following optional interfaces in the javax.sql package are not implemented in the JDBC Driver for SQL/MX:
Method Comments