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:
Patrick Linskey 2008-05-12 18:16:10 +00:00
parent 1dde59cd79
commit 5fcb3c01a0
1 changed files with 3 additions and 0 deletions

View File

@ -241,6 +241,9 @@ public class MySQLDictionary
Column col = super.newColumn(colMeta);
if (col.isNotNull() && "0".equals(col.getDefaultString()))
col.setDefaultString(null);
col.setSchemaName(colMeta.getString("TABLE_CAT"));
return col;
}