openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fa...@apache.org
Subject svn commit: r661207 - in /openjpa/trunk/openjpa-jdbc/src/main: java/org/apache/openjpa/jdbc/sql/OracleDictionary.java resources/org/apache/openjpa/jdbc/sql/localizer.properties
Date Thu, 29 May 2008 04:27:43 GMT
Author: fancy
Date: Wed May 28 21:27:42 2008
New Revision: 661207

URL: http://svn.apache.org/viewvc?rev=661207&view=rev
Log:
OPENJPA-617 Removed hardcoding platform string.
a minor fix of the message text id from batch_update_success_count to batch-update-success-count.
Just caught that immediately after last commit.

Modified:
    openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/OracleDictionary.java
    openjpa/trunk/openjpa-jdbc/src/main/resources/org/apache/openjpa/jdbc/sql/localizer.properties

Modified: openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/OracleDictionary.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/OracleDictionary.java?rev=661207&r1=661206&r2=661207&view=diff
==============================================================================
--- openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/OracleDictionary.java
(original)
+++ openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/OracleDictionary.java
Wed May 28 21:27:42 2008
@@ -1111,7 +1111,7 @@
         if (batchLimit > 0 && ps != null) {
             updateSuccessCnt = ps.getUpdateCount();
             if (log.isTraceEnabled())
-                log.trace(_loc.get("batch_update_success_count",
+                log.trace(_loc.get("batch-update-success-count",
                     updateSuccessCnt));
         }
         return updateSuccessCnt;

Modified: openjpa/trunk/openjpa-jdbc/src/main/resources/org/apache/openjpa/jdbc/sql/localizer.properties
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-jdbc/src/main/resources/org/apache/openjpa/jdbc/sql/localizer.properties?rev=661207&r1=661206&r2=661207&view=diff
==============================================================================
--- openjpa/trunk/openjpa-jdbc/src/main/resources/org/apache/openjpa/jdbc/sql/localizer.properties
(original)
+++ openjpa/trunk/openjpa-jdbc/src/main/resources/org/apache/openjpa/jdbc/sql/localizer.properties
Wed May 28 21:27:42 2008
@@ -172,6 +172,6 @@
 batch_unlimit: The batch limit was changed from unlimit (-1) to {0}.
 function-not-supported: The database dictionary in use ("{0}") \
 	does not support "{1}" function.
-batch_update_success_count: ExecuteBatch command returns update success count {0}
+batch-update-success-count: ExecuteBatch command returns update success count {0}
 connection-defaults: Initial connection autoCommit: {0}, holdability: {1}, \
     TransactionIsolation: {2}



Mime
View raw message