openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p..@apache.org
Subject svn commit: r655586 - /openjpa/branches/1.1.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/MySQLDictionary.java
Date Mon, 12 May 2008 18:16:10 GMT
Author: pcl
Date: Mon May 12 11:16:10 2008
New Revision: 655586

URL: http://svn.apache.org/viewvc?rev=655586&view=rev
Log:
OPENJPA-592. Committing on behalf of Jason Zheng.

Modified:
    openjpa/branches/1.1.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/MySQLDictionary.java

Modified: openjpa/branches/1.1.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/MySQLDictionary.java
URL: http://svn.apache.org/viewvc/openjpa/branches/1.1.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/MySQLDictionary.java?rev=655586&r1=655585&r2=655586&view=diff
==============================================================================
--- openjpa/branches/1.1.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/MySQLDictionary.java
(original)
+++ openjpa/branches/1.1.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/MySQLDictionary.java
Mon May 12 11:16:10 2008
@@ -241,6 +241,9 @@
         Column col = super.newColumn(colMeta);
         if (col.isNotNull() && "0".equals(col.getDefaultString()))
             col.setDefaultString(null);
+
+        col.setSchemaName(colMeta.getString("TABLE_CAT"));
+        
         return col;
     }
 



Mime
View raw message