Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2013-01-15 05:33:34 -0500
committerEike Stepper2013-01-15 05:33:34 -0500
commitd3697c431c736e1a4357b9ec160910704cf04655 (patch)
tree4a3a8089564d6c9ee060cc37de863badf617f8cb /plugins/org.eclipse.net4j.db.hsqldb
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.hsqldb')
-rw-r--r--plugins/org.eclipse.net4j.db.hsqldb/META-INF/MANIFEST.MF6
-rw-r--r--plugins/org.eclipse.net4j.db.hsqldb/src/org/eclipse/net4j/db/hsqldb/HSQLDBAdapter.java16
2 files changed, 3 insertions, 19 deletions
diff --git a/plugins/org.eclipse.net4j.db.hsqldb/META-INF/MANIFEST.MF b/plugins/org.eclipse.net4j.db.hsqldb/META-INF/MANIFEST.MF
index b720870467..86877cca90 100644
--- a/plugins/org.eclipse.net4j.db.hsqldb/META-INF/MANIFEST.MF
+++ b/plugins/org.eclipse.net4j.db.hsqldb/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.net4j.db.hsqldb;singleton:=true
-Bundle-Version: 4.1.0.qualifier
+Bundle-Version: 4.2.0.qualifier
Bundle-Vendor: %providerName
Bundle-Localization: plugin
Bundle-ActivationPolicy: lazy
@@ -13,6 +13,6 @@ Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.4.0,4.0.0)",
org.eclipse.net4j.db;bundle-version="[4.0.0,5.0.0)";visibility:=reexport
Import-Package: org.hsqldb;version="[2.0.0,3.0.0)",
org.hsqldb.jdbc;version="[2.0.0,3.0.0)"
-Export-Package: org.eclipse.net4j.db.hsqldb;version="4.1.0",
- org.eclipse.net4j.db.internal.hsqldb.bundle;version="4.1.0";x-internal:=true
+Export-Package: org.eclipse.net4j.db.hsqldb;version="4.2.0",
+ org.eclipse.net4j.db.internal.hsqldb.bundle;version="4.2.0";x-internal:=true
Eclipse-RegisterBuddy: org.eclipse.net4j.db
diff --git a/plugins/org.eclipse.net4j.db.hsqldb/src/org/eclipse/net4j/db/hsqldb/HSQLDBAdapter.java b/plugins/org.eclipse.net4j.db.hsqldb/src/org/eclipse/net4j/db/hsqldb/HSQLDBAdapter.java
index 24ecbcd499..ca1b5de2e2 100644
--- a/plugins/org.eclipse.net4j.db.hsqldb/src/org/eclipse/net4j/db/hsqldb/HSQLDBAdapter.java
+++ b/plugins/org.eclipse.net4j.db.hsqldb/src/org/eclipse/net4j/db/hsqldb/HSQLDBAdapter.java
@@ -15,12 +15,6 @@ import org.eclipse.net4j.db.IDBAdapter;
import org.eclipse.net4j.db.ddl.IDBField;
import org.eclipse.net4j.spi.db.DBAdapter;
-import org.hsqldb.jdbcDriver;
-
-import javax.sql.DataSource;
-
-import java.sql.Driver;
-
/**
* A {@link IDBAdapter DB adapter} for <a href="http://hsqldb.org/">HyperSQL</a> databases.
*
@@ -38,16 +32,6 @@ public class HSQLDBAdapter extends DBAdapter
super(NAME, VERSION);
}
- public Driver getJDBCDriver()
- {
- return new jdbcDriver();
- }
-
- public DataSource createJDBCDataSource()
- {
- return new HSQLDBDataSource();
- }
-
@Override
protected String getTypeName(IDBField field)
{

Back to the top