# Deprecated API

## Contents

- Classes
- Methods

Deprecated Classes
Class
Description
org.eclipse.net4j.spi.db.DBSchema
As of 4.2 call `DBUtil.createSchema(String)`, `DBUtil.readSchema(IDBAdapter, Connection, IDBSchema)`, `DBUtil.readSchema(IDBAdapter, Connection, String)` or `DBUtil.copySchema(IDBSchema)`.

Deprecated Methods
Method
Description
org.eclipse.net4j.db.DBUtil.getAllSchemaTableNames(Connection)
As of 4.2 use `DBUtil.getAllSchemaNames(Connection)`.
org.eclipse.net4j.db.DBUtil.getAllSchemaTableNames(DatabaseMetaData)
As of 4.2 use `DBUtil.getAllSchemaNames(DatabaseMetaData)`.
org.eclipse.net4j.db.DBUtil.sqlDump(Connection, String)
Should only be used when debugging.
org.eclipse.net4j.db.DBUtil.sqlDump(IDBConnectionProvider, String)
Should only be used when debugging.
org.eclipse.net4j.db.ddl.IDBIndex.getPosition()
org.eclipse.net4j.db.ddl.IDBSchemaElement.setName(String)
org.eclipse.net4j.db.IDBAdapter.createJDBCDataSource()
As of 4.2 no longer supported because of IP issues for external build dependencies (the vendor driver libs).
org.eclipse.net4j.db.IDBAdapter.getJDBCDriver()
As of 4.2 no longer supported because of IP issues for external build dependencies (the vendor driver libs).
org.eclipse.net4j.db.IDBConnection.prepareStatement(String, int)
Not supported.
org.eclipse.net4j.db.IDBConnection.prepareStatement(String, int[])
Not supported.
org.eclipse.net4j.db.IDBConnection.prepareStatement(String, int, int, int)
Not supported.
org.eclipse.net4j.db.IDBConnection.prepareStatement(String, String[])
Not supported.
org.eclipse.net4j.db.IDBDatabase.getSchemaTransaction()
As of 4.7 no longer supported in favor of support for multiple schema transactions.
org.eclipse.net4j.db.IDBPreparedStatement.executeQuery(String)
Not supported.
org.eclipse.net4j.db.IDBPreparedStatement.getTransaction()
As of 4.3 use `IDBPreparedStatement.getConnection()`.
org.eclipse.net4j.db.jdbc.DelegatingPreparedStatement.setUnicodeStream(int, InputStream, int)
org.eclipse.net4j.db.jdbc.DelegatingResultSet.getBigDecimal(int, int)
org.eclipse.net4j.db.jdbc.DelegatingResultSet.getBigDecimal(String, int)
org.eclipse.net4j.db.jdbc.DelegatingResultSet.getUnicodeStream(int)
org.eclipse.net4j.db.jdbc.DelegatingResultSet.getUnicodeStream(String)
org.eclipse.net4j.spi.db.DBAdapter.createJDBCDataSource()
As of 4.2 no longer supported because of IP issues for external build dependencies (the vendor driver libs).
org.eclipse.net4j.spi.db.DBAdapter.getJDBCDriver()
As of 4.2 no longer supported because of IP issues for external build dependencies (the vendor driver libs).