empire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From der...@apache.org
Subject empire-db git commit: EMPIREDB-247
Date Fri, 12 Aug 2016 10:43:41 GMT
Repository: empire-db
Updated Branches:
  refs/heads/EMPIREDB-247 e74c6d4df -> 7a41de0a6


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/7a41de0a
Tree: http://git-wip-us.apache.org/repos/asf/empire-db/tree/7a41de0a
Diff: http://git-wip-us.apache.org/repos/asf/empire-db/diff/7a41de0a

Branch: refs/heads/EMPIREDB-247
Commit: 7a41de0a64ea2414b991ba13b1e94f351c3ebc19
Parents: e74c6d4
Author: Jan Glaubitz <jan@glaubitz.org>
Authored: Fri Aug 12 12:43:30 2016 +0200
Committer: Jan Glaubitz <jan@glaubitz.org>
Committed: Fri Aug 12 12:43:30 2016 +0200

----------------------------------------------------------------------
 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/7a41de0a/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