cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r443210 - /incubator/cayenne/main/branches/STABLE-2.0/cayenne/cayenne-java/src/cayenne/java/org/apache/cayenne/dba/db2/DB2PkGenerator.java
Date Thu, 14 Sep 2006 03:35:29 GMT
Author: aadamchik
Date: Wed Sep 13 20:35:29 2006
New Revision: 443210

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

Modified:
    incubator/cayenne/main/branches/STABLE-2.0/cayenne/cayenne-java/src/cayenne/java/org/apache/cayenne/dba/db2/DB2PkGenerator.java

Modified: incubator/cayenne/main/branches/STABLE-2.0/cayenne/cayenne-java/src/cayenne/java/org/apache/cayenne/dba/db2/DB2PkGenerator.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/branches/STABLE-2.0/cayenne/cayenne-java/src/cayenne/java/org/apache/cayenne/dba/db2/DB2PkGenerator.java?view=diff&rev=443210&r1=443209&r2=443210
==============================================================================
--- incubator/cayenne/main/branches/STABLE-2.0/cayenne/cayenne-java/src/cayenne/java/org/apache/cayenne/dba/db2/DB2PkGenerator.java
(original)
+++ incubator/cayenne/main/branches/STABLE-2.0/cayenne/cayenne-java/src/cayenne/java/org/apache/cayenne/dba/db2/DB2PkGenerator.java
Wed Sep 13 20:35:29 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