openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mik...@apache.org
Subject svn commit: r996000 - /openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/FirebirdDictionary.java
Date Fri, 10 Sep 2010 22:11:20 GMT
Author: mikedd
Date: Fri Sep 10 22:11:19 2010
New Revision: 996000

URL: http://svn.apache.org/viewvc?rev=996000&view=rev
Log:
OPENJPA-1788: use DBIdentifier.isNull for firebird dictionary

Modified:
    openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/FirebirdDictionary.java

Modified: openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/FirebirdDictionary.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/FirebirdDictionary.java?rev=996000&r1=995999&r2=996000&view=diff
==============================================================================
--- openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/FirebirdDictionary.java
(original)
+++ openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/FirebirdDictionary.java
Fri Sep 10 22:11:19 2010
@@ -355,8 +355,9 @@ public class FirebirdDictionary
     @Override
     protected String getSequencesSQL(DBIdentifier schemaName, DBIdentifier sequenceName)
{
         StringBuilder buf = new StringBuilder(sequenceSQL);
-        if (sequenceName != null)
+        if (!DBIdentifier.isNull(sequenceName)) {
             buf.append(sequenceNameSQL);
+        }
         return buf.toString();
     }
 



Mime
View raw message