Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2013-01-15 10:33:34 +0000
committerEike Stepper2013-01-15 10:33:34 +0000
commitd3697c431c736e1a4357b9ec160910704cf04655 (patch)
tree4a3a8089564d6c9ee060cc37de863badf617f8cb /plugins/org.eclipse.net4j.db.oracle/src/org/eclipse
parent5e646b8541682882ee15ab0ace34fba692b80697 (diff)
downloadcdo-d3697c431c736e1a4357b9ec160910704cf04655.tar.gz
cdo-d3697c431c736e1a4357b9ec160910704cf04655.tar.xz
cdo-d3697c431c736e1a4357b9ec160910704cf04655.zip
[398167] [DB] Remove JDBC driver dependencies from DBAdapter bundles
https://bugs.eclipse.org/bugs/show_bug.cgi?id=398167
Diffstat (limited to 'plugins/org.eclipse.net4j.db.oracle/src/org/eclipse')
-rw-r--r--plugins/org.eclipse.net4j.db.oracle/src/org/eclipse/net4j/db/oracle/OracleAdapter.java21
1 files changed, 0 insertions, 21 deletions
diff --git a/plugins/org.eclipse.net4j.db.oracle/src/org/eclipse/net4j/db/oracle/OracleAdapter.java b/plugins/org.eclipse.net4j.db.oracle/src/org/eclipse/net4j/db/oracle/OracleAdapter.java
index 39c74fc049..a0d51011a8 100644
--- a/plugins/org.eclipse.net4j.db.oracle/src/org/eclipse/net4j/db/oracle/OracleAdapter.java
+++ b/plugins/org.eclipse.net4j.db.oracle/src/org/eclipse/net4j/db/oracle/OracleAdapter.java
@@ -11,14 +11,10 @@
*/
package org.eclipse.net4j.db.oracle;
-import org.eclipse.net4j.db.DBException;
import org.eclipse.net4j.db.DBType;
import org.eclipse.net4j.db.ddl.IDBField;
import org.eclipse.net4j.spi.db.DBAdapter;
-import javax.sql.DataSource;
-
-import java.sql.Driver;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -35,23 +31,6 @@ public class OracleAdapter extends DBAdapter
super(NAME, VERSION);
}
- public Driver getJDBCDriver()
- {
- return new oracle.jdbc.driver.OracleDriver();
- }
-
- public DataSource createJDBCDataSource()
- {
- try
- {
- return new oracle.jdbc.pool.OracleDataSource();
- }
- catch (SQLException e)
- {
- throw new DBException(e);
- }
- }
-
public String[] getReservedWords()
{
List<String> list = new ArrayList<String>(Arrays.asList(getSQL92ReservedWords()));

Back to the top