openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From allee8...@apache.org
Subject svn commit: r748957 - in /openjpa/trunk: openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/ openjpa-persistence/src/main/java/org/apache/openjpa/persistence/
Date Sun, 01 Mar 2009 03:27:39 GMT
Author: allee8285
Date: Sun Mar  1 03:27:37 2009
New Revision: 748957

URL: http://svn.apache.org/viewvc?rev=748957&view=rev
Log:
OPENJPA-891 - change supportIsolationForUpdate to supportsIsolationForUpdate in line with
existing naming convention.

Modified:
    openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DB2Dictionary.java
    openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionary.java
    openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/EntityManagerImpl.java

Modified: openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DB2Dictionary.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DB2Dictionary.java?rev=748957&r1=748956&r2=748957&view=diff
==============================================================================
--- openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DB2Dictionary.java
(original)
+++ openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DB2Dictionary.java
Sun Mar  1 03:27:37 2009
@@ -327,7 +327,7 @@
         }
     }
 
-    public boolean supportIsolationForUpdate() {
+    public boolean supportsIsolationForUpdate() {
         return true;
     }
 

Modified: openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionary.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionary.java?rev=748957&r1=748956&r2=748957&view=diff
==============================================================================
--- openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionary.java
(original)
+++ openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionary.java
Sun Mar  1 03:27:37 2009
@@ -2403,7 +2403,7 @@
      * Return true if the dictionary uses isolation level to compute the 
      * returned getForUpdateClause() SQL clause.  
      */
-    public boolean supportIsolationForUpdate() {
+    public boolean supportsIsolationForUpdate() {
         return false;
     }
     

Modified: openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/EntityManagerImpl.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/EntityManagerImpl.java?rev=748957&r1=748956&r2=748957&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/EntityManagerImpl.java
(original)
+++ openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/EntityManagerImpl.java
Sun Mar  1 03:27:37 2009
@@ -1642,7 +1642,7 @@
             }
             // Set overriden isolation level for pessimistic-read/write
             if (((JDBCConfiguration) _broker.getConfiguration())
-                .getDBDictionaryInstance().supportIsolationForUpdate()) {
+                .getDBDictionaryInstance().supportsIsolationForUpdate()) {
                 switch (setReadLevel) {
                 case JPA2LockLevels.LOCK_PESSIMISTIC_READ:
                     fcPushed = setIsolationForPessimisticLock(fCfg, fcPushed,



Mime
View raw message