OPENJPA-528 reverting behavior. Original fix caused problems with the TCK.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@633075 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Dick 2008-03-03 12:54:56 +00:00
parent a4600fbe98
commit ca9828726d
2 changed files with 4 additions and 2 deletions

View File

@ -480,6 +480,9 @@
<exclude>org/apache/openjpa/persistence/meta/TestSequenceAssigned.java</exclude> <exclude>org/apache/openjpa/persistence/meta/TestSequenceAssigned.java</exclude>
<exclude>org/apache/openjpa/persistence/meta/TestValueStrategies.java</exclude> <exclude>org/apache/openjpa/persistence/meta/TestValueStrategies.java</exclude>
<exclude>org/apache/openjpa/persistence/meta/TestXMLPersistenceMetaDataSerializer.java</exclude> <exclude>org/apache/openjpa/persistence/meta/TestXMLPersistenceMetaDataSerializer.java</exclude>
<!-- Exclude until root cause of TCK problem is found. -->
<exclude>org/apache/openjpa/persistence/jdbc/TestFKColumnNames.java</exclude>
</excludes> </excludes>
<systemProperties> <systemProperties>
<property> <property>

View File

@ -192,9 +192,8 @@ public class PersistenceMappingDefaults
if (isRemoveHungarianNotation()) if (isRemoveHungarianNotation())
name = removeHungarianNotation(name); name = removeHungarianNotation(name);
name = name + "_" + ((Column) target).getName();
name = dict.getValidColumnName(name, local); name = dict.getValidColumnName(name, local);
col.setName(name); col.setName(name + "_" + ((Column) target).getName());
} }
} }