openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From allee8...@apache.org
Subject svn commit: r650381 - /openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DB2Dictionary.java
Date Tue, 22 Apr 2008 04:45:20 GMT
Author: allee8285
Date: Mon Apr 21 21:45:13 2008
New Revision: 650381

URL: http://svn.apache.org/viewvc?rev=650381&view=rev
Log:
Minor changes: 1) change a few constants from private to protected for use by sub-class. 2)
add a couple of new constansts.

Modified:
    openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DB2Dictionary.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=650381&r1=650380&r2=650381&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
Mon Apr 21 21:45:13 2008
@@ -60,14 +60,18 @@
     public static final int db2ZOSV8xOrLater = 3;
     public static final int db2UDBV82OrLater = 4;
     public static final int db2ISeriesV5R4OrLater = 5;
-	private static final String forUpdate = "FOR UPDATE";
-    private static final String withRSClause = "WITH RS";
-    private static final String withRRClause = "WITH RR";
-    private static final String useKeepUpdateLockClause
+	protected static final String forUpdate = "FOR UPDATE";
+    protected static final String withURClause = "WITH UR";
+    protected static final String withCSClause = "WITH CS";
+    protected static final String withRSClause = "WITH RS";
+    protected static final String withRRClause = "WITH RR";
+    protected static final String useKeepShareLockClause
+        = "USE AND KEEP SHARE LOCKS";
+    protected static final String useKeepUpdateLockClause
         = "USE AND KEEP UPDATE LOCKS";
-    private static final String useKeepExclusiveLockClause
+    protected static final String useKeepExclusiveLockClause
         = "USE AND KEEP EXCLUSIVE LOCKS";
-    private static final String forReadOnlyClause = "FOR READ ONLY";
+    protected static final String forReadOnlyClause = "FOR READ ONLY";
     protected String databaseProductName = null;
     protected String databaseProductVersion = null;
     protected int maj = 0;



Mime
View raw message