mirror of https://github.com/apache/openjpa.git
OPENJPA-592. Committing on behalf of Jason Zheng.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@655586 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1dde59cd79
commit
5fcb3c01a0
|
@ -241,6 +241,9 @@ public class MySQLDictionary
|
||||||
Column col = super.newColumn(colMeta);
|
Column col = super.newColumn(colMeta);
|
||||||
if (col.isNotNull() && "0".equals(col.getDefaultString()))
|
if (col.isNotNull() && "0".equals(col.getDefaultString()))
|
||||||
col.setDefaultString(null);
|
col.setDefaultString(null);
|
||||||
|
|
||||||
|
col.setSchemaName(colMeta.getString("TABLE_CAT"));
|
||||||
|
|
||||||
return col;
|
return col;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue