Unsupported JDBC Methods

Unsupported JDBC methods can be handled in one of two ways:

If you try to access a JDBC method that TDV Server does not support, the system throws a SQLException with the message, “The operation X is not supported.”
If you prefer that the system not throw exceptions when you use unsupported methods, set unsupportedMode to silent in the JDBC connection URL, as in the following example:
jdbc:compositesw:dbapi@localhost:9401?domain=composite&dataSource=examples&unsupportedMode=silent

CallableStatements (not supported)

Array

getArray(int parameterIndex)

Array

getArray(String parameterName)

BigDecimal

getBigDecimal(int parameterIndex, int scale)

Object

getObject(int parameterIndex, Map map)

Object

getObject(String parameterName, Map map)

Ref

getRef(int parameterIndex)

Ref

getRef(String parameterName)

URL

getURL(int parameterIndex)

URL

getURL(String parameterName)

void

registerOutParameter(int parameterIndex, int sqlType, int scale)

void

registerOutParameter(int parameterIndex, int sqlType, String typeName)

void

registerOutParameter(String parameterName, int sqlType, int scale)

void

registerOutParameter(String parameterName, int sqlType, String typeName)

void

setNull(String parameterName, int sqlType, String typeName)

 

setObject(String parameterName, Object x, int targetSqlType, int scale)

void

setURL(String parameterName, URL x)

Connections (not supported)

Properties

getClientInfo()

String

nativeSQL(String sql)

PreparedStatement

prepareStatement(String sql, int autoGeneratedKeys)

PreparedStatement

prepareStatement(String sql, int[] columnIndexes)

PreparedStatement

prepareStatement(String sql, String[] columnNames)

void

releaseSavepoint(Savepoint savepoint)

void

setHoldability(int holdability)

void

setReadOnly(boolean readOnly)

Savepoint

setSavepoint()

 

setSavepoint(String name)

void

setTypeMap(Map map)

DatabaseMetaData (not supported)

boolean

allProceduresAreCallable()

boolean

allTablesAreSelectable()

ResultSet

getAttributes(String catalog, String schemaPattern, String typeNamePattern, String attributeNamePattern)

int

getSQLStateType()

ResultSet

getSuperTables(String catalog, String schemaPattern, String typeNamePattern)

ResultSet

getSuperTypes(String catalog, String schemaPattern, String typeNamePattern)

boolean

supportsConvert(int fromType, int toType)

PreparedStatements (not supported)

void

addBatch()

boolean

execute(String sql)

int

executeUpdate(String sql)

 

setArray(int i, Array x)

void

setNull(int paramIndex, int sqlType, String typeName)

void

setObject(int parameterIndex, Object x, int targetSqlType, int scale)

void

setRef(int i, Ref x)

void

setURL(int parameterIndex, URL x)

Blob (not supported)

java.io.OutputStream

setBinaryStream(long pos)

int

setBytes(long pos, byte[] bytes, int offset, int len)

int

setBytes(long pos, byte[] bytes)

Clob (not supported)

java.io.OutputStream

setAsciiStream(long pos)

java.io.Writer

setCharacterStream(long pos)

int

setString(long pos, String str, int offset, int len)

int

setString(long pos, String str)

ResultSet (not supported)

boolean

absolute(int row)

void

afterLast()

void

beforeFirst()

void

cancelRowUpdates()

void

deleteRow()

boolean

first()

Array

getArray(int i)

Array

getArray(String colName)

InputStream

getAsciiStream(int columnIndex)

BigDecimal

getBigDecimal(int columnIndex, int scale)

String

getCursorName()

Object

getObject(int i, Map map)

Ref

getRef(int i)

InputStream

getUnicodeStream(int columnIndex)

URL

getURL(int columnIndex)

URL

getURL(String columnName)

void

insertRow()

boolean

last()

void

moveToCurrentRow()

void

moveToInsertRow()

Object

Object getObject(String colName, Map map)

boolean

previous()

Ref

Ref getRef(String colName)

void

refreshRow()

boolean

relative(int rows)

void

setFetchDirection(int direction)

void

updateArray(int columnIndex, Array x)

void

updateArray(String columnName, Array x)

void

updateAsciiStream(int columnIndex, InputStream x, int length)

void

updateAsciiStream(String columnName, InputStream x, int length)

void

updateBigDecimal(int columnIndex, BigDecimal x)

void

updateBigDecimal(String columnName, BigDecimal x)

void

updateBinaryStream(int columnIndex, InputStream x, int length)

void

updateBinaryStream(String columnName, InputStream x, int length)

void

updateBlob(int columnIndex, Blob x)

void

updateBlob(String columnName, Blob x)

void

updateBoolean(int columnIndex, boolean x)

void

updateBoolean(String columnName, boolean x)

void

updateByte(int columnIndex, byte x)

void

updateByte(String columnName, byte x)

void

updateBytes(int columnIndex, byte x[])

void

updateBytes(String columnName, byte x[])

void

updateCharacterStream(int columnIndex, Reader x, int length)

void

updateCharacterStream(String columnName, Reader reader, int length)

void

updateClob(int columnIndex, Clob x)

void

updateClob(String columnName, Clob x)

void

updateDate(int columnIndex, java.sql.Date x)

void

updateDate(String columnName, java.sql.Date x)

void

updateDouble(int columnIndex, double x)

void

updateDouble(String columnName, double x)

void

updateFloat(int columnIndex, float x)

void

updateFloat(String columnName, float x)

void

updateInt(int columnIndex, int x)

void

updateInt(String columnName, int x)

void

updateLong(int columnIndex, long x)

void

updateLong(String columnName, long x)

void

updateNull(int columnIndex)

void

updateNull(String columnName)

void

updateObject(int columnIndex, Object x, int scale)

void

updateObject(int columnIndex, Object x)

void

updateObject(String columnName, Object x, int scale)

void

updateObject(String columnName, Object x)

void

updateRef(int columnIndex, Ref x)

void

updateRef(String columnName, Ref x)

void

updateRow()

void

updateShort(int columnIndex, short x)

void

updateShort(String columnName, short x)

void

updateString(int columnIndex, String x)

void

updateString(String columnName, String x)

void

updateTime(int columnIndex, java.sql.Time x)

void

updateTime(String columnName, java.sql.Time x)

void

updateTimestamp(int columnIndex, java.sql.Timestamp x)

void

updateTimestamp(String columnName, java.sql.Timestamp x)

Statements (not supported)

void

addBatch(String sql)

void

clearBatch()

void

clearWarnings()

boolean

execute(String sql, int autoGeneratedKeys)

boolean

execute(String sql, int columnIndexes[])

boolean

execute(String sql, String columnNames[])

int[]

executeBatch()

int

executeUpdate(String sql, int autoGeneratedKeys)

int

executeUpdate(String sql, int columnIndexes[])

int

executeUpdate(String sql, String columnNames[])

void

getWarnings()

 

ResultSet getGeneratedKeys()

void

setCursorName(String name)

void

setEscapeProcessing(boolean enable)

 

setFetchDirection(int direction)

void

setMaxFieldSize(int max)