# Deprecated API

## Contents

- Deprecated Interfaces
- Deprecated Classes
- Deprecated Methods

- Deprecated Interfaces
  Interface and Description
  org.eclipse.net4j.db.dml.IDBParameter
  org.eclipse.net4j.db.dml.IDBStatement

- Deprecated Classes
  Class and 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 and Description
  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.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.db.IDBPreparedStatement.executeQuery(String) Not supported.
  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.jdbc.DelegatingResultSet.getBigDecimal(int, int)
  org.eclipse.net4j.db.jdbc.DelegatingResultSet.getBigDecimal(String, int)
  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.spi.db.DBAdapter.getJDBCDriver() As of 4.2 no longer supported because of IP issues for external build dependencies (the vendor driver libs).
  org.eclipse.net4j.db.ddl.IDBIndex.getPosition()
  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.getTransaction() As of 4.3 use `IDBPreparedStatement.getConnection()`.
  org.eclipse.net4j.db.jdbc.DelegatingResultSet.getUnicodeStream(int)
  org.eclipse.net4j.db.jdbc.DelegatingResultSet.getUnicodeStream(String)
  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.ddl.IDBSchemaElement.setName(String)
  org.eclipse.net4j.db.jdbc.DelegatingPreparedStatement.setUnicodeStream(int, InputStream, int)
  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.

Copyright (c) 2004-2019 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html