mirror of
https://github.com/apache/openjpa.git
synced 2025-02-07 10:39:00 +00:00
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:
parent
ca9828726d
commit
7487d73507
@ -549,9 +549,7 @@ public class MappingDefaultsImpl
|
|||||||
String name = col.getName();
|
String name = col.getName();
|
||||||
if (_removeHungarianNotation)
|
if (_removeHungarianNotation)
|
||||||
name = removeHungarianNotation(name);
|
name = removeHungarianNotation(name);
|
||||||
if (_defMissing) // this is not an 'else if' intentionally
|
col.setName(dict.getValidColumnName(name, table));
|
||||||
name = dict.getValidColumnName(name, table);
|
|
||||||
col.setName(name);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user