mirror of
https://github.com/apache/openjpa.git
synced 2025-02-21 01:15:30 +00:00
OPENJPA-1788: use DBIdentifier.isNull for firebird dictionary
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@996000 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
35205c46ac
commit
208347e88d
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user