mirror of https://github.com/apache/openjpa.git
OPENJPA-505. Committing on behalf of joe@bea.com (Joe Weinstein).
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@616658 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b2a10e285f
commit
0b4ce34920
|
@ -1660,8 +1660,13 @@ public class DBDictionary
|
|||
*/
|
||||
protected String insertSize(String typeName, String size) {
|
||||
if(StringUtils.isEmpty(size)) {
|
||||
return typeName;
|
||||
}
|
||||
|
||||
int idx = typeName.indexOf("{0}");
|
||||
if (idx != -1) {
|
||||
return typeName.substring(0,idx);
|
||||
}
|
||||
return typeName;
|
||||
}
|
||||
|
||||
int idx = typeName.indexOf("{0}");
|
||||
if (idx != -1) {
|
||||
|
|
Loading…
Reference in New Issue