cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r443209 - /incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/dba/db2/DB2PkGenerator.java
Date Thu, 14 Sep 2006 03:35:22 GMT
Author: aadamchik
Date: Wed Sep 13 20:35:21 2006
New Revision: 443209

URL: http://svn.apache.org/viewvc?view=rev&rev=443209
Log:
CAY-655 - fixing sequence name error - incorrectly copied from oracle

Modified:
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/dba/db2/DB2PkGenerator.java

Modified: incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/dba/db2/DB2PkGenerator.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/dba/db2/DB2PkGenerator.java?view=diff&rev=443209&r1=443208&r2=443209
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/dba/db2/DB2PkGenerator.java
(original)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/dba/db2/DB2PkGenerator.java
Wed Sep 13 20:35:21 2006
@@ -184,7 +184,7 @@
     protected String sequenceName(DbEntity entity) {
 
         String entName = entity.getName();
-        String seqName = _SEQUENCE_PREFIX + entName.toLowerCase();
+        String seqName = _SEQUENCE_PREFIX + entName;
 
         if (entity.getSchema() != null && entity.getSchema().length() > 0) {
             seqName = entity.getSchema() + "." + seqName;



Mime
View raw message