openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mik...@apache.org
Subject svn commit: r601379 - /openjpa/trunk/openjpa-persistence-jdbc/src/main/java/org/apache/openjpa/persistence/jdbc/PersistenceMappingDefaults.java
Date Wed, 05 Dec 2007 15:57:27 GMT
Author: mikedd
Date: Wed Dec  5 07:57:23 2007
New Revision: 601379

URL: http://svn.apache.org/viewvc?rev=601379&view=rev
Log:
OPENJPA-456 committing patch provided by Teresa Kan

Modified:
    openjpa/trunk/openjpa-persistence-jdbc/src/main/java/org/apache/openjpa/persistence/jdbc/PersistenceMappingDefaults.java

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/main/java/org/apache/openjpa/persistence/jdbc/PersistenceMappingDefaults.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/main/java/org/apache/openjpa/persistence/jdbc/PersistenceMappingDefaults.java?rev=601379&r1=601378&r2=601379&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/main/java/org/apache/openjpa/persistence/jdbc/PersistenceMappingDefaults.java
(original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/main/java/org/apache/openjpa/persistence/jdbc/PersistenceMappingDefaults.java
Wed Dec  5 07:57:23 2007
@@ -160,6 +160,7 @@
 
         // suffix with '_' + target column
         name += "_" + ((Column) target).getName();
+        name = dict.getValidColumnName(name, foreign);
         col.setName(name);
     }
 



Mime
View raw message