empire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From der...@apache.org
Subject [10/14] empire-db git commit: EMPIREDB-247
Date Wed, 09 Nov 2016 10:59:17 GMT
EMPIREDB-247

- better naming of API

Project: http://git-wip-us.apache.org/repos/asf/empire-db/repo
Commit: http://git-wip-us.apache.org/repos/asf/empire-db/commit/3e27a77d
Tree: http://git-wip-us.apache.org/repos/asf/empire-db/tree/3e27a77d
Diff: http://git-wip-us.apache.org/repos/asf/empire-db/diff/3e27a77d

Branch: refs/heads/EMPIREDB-247
Commit: 3e27a77d8e9a106bd2db6f09bef751aec284607f
Parents: 7431378
Author: Jan Glaubitz <jan@glaubitz.org>
Authored: Fri Aug 12 12:43:30 2016 +0200
Committer: Jan Glaubitz <jan@glaubitz.org>
Committed: Wed Nov 9 11:56:53 2016 +0100

----------------------------------------------------------------------
 empire-db/src/main/java/org/apache/empire/db/DBDatabase.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/empire-db/blob/3e27a77d/empire-db/src/main/java/org/apache/empire/db/DBDatabase.java
----------------------------------------------------------------------
diff --git a/empire-db/src/main/java/org/apache/empire/db/DBDatabase.java b/empire-db/src/main/java/org/apache/empire/db/DBDatabase.java
index a0d24e8..5757b96 100644
--- a/empire-db/src/main/java/org/apache/empire/db/DBDatabase.java
+++ b/empire-db/src/main/java/org/apache/empire/db/DBDatabase.java
@@ -1397,7 +1397,7 @@ public abstract class DBDatabase extends DBObject
      * @param conn a valid connection to the database.
      * @return the number of records that have been updated or inserted with the supplied
statement
      */
-    public final int executeInsertOrUpdate(DBCommand cmd, Connection conn)
+    public final int executeUpdateOrInsert(DBCommand cmd, Connection conn)
     {
     	if (getDriver().isSupported(DBDriverFeature.PERFORM_UPSERT))
     	{


Mime
View raw message