mirror of https://github.com/apache/openjpa.git
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:
parent
a4600fbe98
commit
ca9828726d
|
@ -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>
|
||||||
|
|
|
@ -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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue