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 <[email protected]>
Authored: Fri Aug 12 12:43:30 2016 +0200
Committer: Jan Glaubitz <[email protected]>
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))
        {

Reply via email to