OPENJPA-430. Reverting mapping defaults change; I'm not convinced that the code is correct, but internal Kodo tests fail with the new behavior. Changing for now; more investigation to follow.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@633245 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Patrick Linskey 2008-03-03 19:38:47 +00:00
parent ca9828726d
commit 7487d73507
1 changed files with 1 additions and 3 deletions

View File

@ -549,9 +549,7 @@ public class MappingDefaultsImpl
String name = col.getName();
if (_removeHungarianNotation)
name = removeHungarianNotation(name);
if (_defMissing) // this is not an 'else if' intentionally
name = dict.getValidColumnName(name, table);
col.setName(name);
col.setName(dict.getValidColumnName(name, table));
}
}