Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2008-01-21 08:15:49 +0000
committerEike Stepper2008-01-21 08:15:49 +0000
commiteb5e2b64c44b9779ddb96c50d41f974bd1ea9b6d (patch)
tree95a2d0ccded712e604c337603fe71682ebfa46d7 /plugins/org.eclipse.net4j.db
parentac374ed1a0af94a25fc0971287e94f0d790c6558 (diff)
downloadcdo-eb5e2b64c44b9779ddb96c50d41f974bd1ea9b6d.tar.gz
cdo-eb5e2b64c44b9779ddb96c50d41f974bd1ea9b6d.tar.xz
cdo-eb5e2b64c44b9779ddb96c50d41f974bd1ea9b6d.zip
[215911] RevisionManager should add revision when store support delta.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=215911
Diffstat (limited to 'plugins/org.eclipse.net4j.db')
-rw-r--r--plugins/org.eclipse.net4j.db/src/org/eclipse/net4j/db/DBUtil.java2
-rw-r--r--plugins/org.eclipse.net4j.db/src/org/eclipse/net4j/db/IDBConnectionProvider.java (renamed from plugins/org.eclipse.net4j.db/src/org/eclipse/net4j/db/ConnectionProvider.java)2
-rw-r--r--plugins/org.eclipse.net4j.db/src/org/eclipse/net4j/db/ddl/IDBSchema.java4
-rw-r--r--plugins/org.eclipse.net4j.db/src/org/eclipse/net4j/internal/db/DataSourceConnectionProvider.java4
-rw-r--r--plugins/org.eclipse.net4j.db/src/org/eclipse/net4j/internal/db/ddl/DBSchema.java4
5 files changed, 8 insertions, 8 deletions
diff --git a/plugins/org.eclipse.net4j.db/src/org/eclipse/net4j/db/DBUtil.java b/plugins/org.eclipse.net4j.db/src/org/eclipse/net4j/db/DBUtil.java
index e9c26609c0..97180bd51f 100644
--- a/plugins/org.eclipse.net4j.db/src/org/eclipse/net4j/db/DBUtil.java
+++ b/plugins/org.eclipse.net4j.db/src/org/eclipse/net4j/db/DBUtil.java
@@ -67,7 +67,7 @@ public final class DBUtil
}
}
- public static ConnectionProvider createConnectionProvider(DataSource dataSource)
+ public static IDBConnectionProvider createConnectionProvider(DataSource dataSource)
{
return new DataSourceConnectionProvider(dataSource);
}
diff --git a/plugins/org.eclipse.net4j.db/src/org/eclipse/net4j/db/ConnectionProvider.java b/plugins/org.eclipse.net4j.db/src/org/eclipse/net4j/db/IDBConnectionProvider.java
index af466c2f50..3a44d63720 100644
--- a/plugins/org.eclipse.net4j.db/src/org/eclipse/net4j/db/ConnectionProvider.java
+++ b/plugins/org.eclipse.net4j.db/src/org/eclipse/net4j/db/IDBConnectionProvider.java
@@ -15,7 +15,7 @@ import java.sql.Connection;
/**
* @author Eike Stepper
*/
-public interface ConnectionProvider
+public interface IDBConnectionProvider
{
public Connection getConnection() throws DBException;
}
diff --git a/plugins/org.eclipse.net4j.db/src/org/eclipse/net4j/db/ddl/IDBSchema.java b/plugins/org.eclipse.net4j.db/src/org/eclipse/net4j/db/ddl/IDBSchema.java
index 6451d635ba..0ca1654210 100644
--- a/plugins/org.eclipse.net4j.db/src/org/eclipse/net4j/db/ddl/IDBSchema.java
+++ b/plugins/org.eclipse.net4j.db/src/org/eclipse/net4j/db/ddl/IDBSchema.java
@@ -10,7 +10,7 @@
**************************************************************************/
package org.eclipse.net4j.db.ddl;
-import org.eclipse.net4j.db.ConnectionProvider;
+import org.eclipse.net4j.db.IDBConnectionProvider;
import org.eclipse.net4j.db.DBException;
import org.eclipse.net4j.db.IDBAdapter;
@@ -32,7 +32,7 @@ public interface IDBSchema extends IDBSchemaElement
public Set<IDBTable> create(IDBAdapter dbAdapter, Connection connection) throws DBException;
- public Set<IDBTable> create(IDBAdapter dbAdapter, ConnectionProvider connectionProvider) throws DBException;
+ public Set<IDBTable> create(IDBAdapter dbAdapter, IDBConnectionProvider connectionProvider) throws DBException;
public Set<IDBTable> create(IDBAdapter dbAdapter, DataSource dataSource) throws DBException;
}
diff --git a/plugins/org.eclipse.net4j.db/src/org/eclipse/net4j/internal/db/DataSourceConnectionProvider.java b/plugins/org.eclipse.net4j.db/src/org/eclipse/net4j/internal/db/DataSourceConnectionProvider.java
index 87e4703e7a..bc393e9a84 100644
--- a/plugins/org.eclipse.net4j.db/src/org/eclipse/net4j/internal/db/DataSourceConnectionProvider.java
+++ b/plugins/org.eclipse.net4j.db/src/org/eclipse/net4j/internal/db/DataSourceConnectionProvider.java
@@ -10,7 +10,7 @@
**************************************************************************/
package org.eclipse.net4j.internal.db;
-import org.eclipse.net4j.db.ConnectionProvider;
+import org.eclipse.net4j.db.IDBConnectionProvider;
import org.eclipse.net4j.db.DBException;
import javax.sql.DataSource;
@@ -21,7 +21,7 @@ import java.sql.SQLException;
/**
* @author Eike Stepper
*/
-public class DataSourceConnectionProvider implements ConnectionProvider
+public class DataSourceConnectionProvider implements IDBConnectionProvider
{
private DataSource dataSource;
diff --git a/plugins/org.eclipse.net4j.db/src/org/eclipse/net4j/internal/db/ddl/DBSchema.java b/plugins/org.eclipse.net4j.db/src/org/eclipse/net4j/internal/db/ddl/DBSchema.java
index ec80442228..b9ca8ae77e 100644
--- a/plugins/org.eclipse.net4j.db/src/org/eclipse/net4j/internal/db/ddl/DBSchema.java
+++ b/plugins/org.eclipse.net4j.db/src/org/eclipse/net4j/internal/db/ddl/DBSchema.java
@@ -10,7 +10,7 @@
**************************************************************************/
package org.eclipse.net4j.internal.db.ddl;
-import org.eclipse.net4j.db.ConnectionProvider;
+import org.eclipse.net4j.db.IDBConnectionProvider;
import org.eclipse.net4j.db.DBException;
import org.eclipse.net4j.db.DBUtil;
import org.eclipse.net4j.db.IDBAdapter;
@@ -93,7 +93,7 @@ public class DBSchema extends DBSchemaElement implements IDBSchema
return dbAdapter.createTables(tables.values(), connection);
}
- public Set<IDBTable> create(IDBAdapter dbAdapter, ConnectionProvider connectionProvider) throws DBException
+ public Set<IDBTable> create(IDBAdapter dbAdapter, IDBConnectionProvider connectionProvider) throws DBException
{
Connection connection = null;

Back to the top