Author: pcl
Date: Mon May 12 11:21:28 2008
New Revision: 655587
URL: http://svn.apache.org/viewvc?rev=655587&view=rev
Log:
OPENJPA-592. Oops, reverting earlier commit. I got my issue numbers mixed up.
If MySQL doesn't have a concept of a schema, I do not believe that we should necessarily try
to emulate schemas.
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=655587&r1=655586&r2=655587&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:21:28 2008
@@ -242,8 +242,6 @@
if (col.isNotNull() && "0".equals(col.getDefaultString()))
col.setDefaultString(null);
- col.setSchemaName(colMeta.getString("TABLE_CAT"));
-
return col;
}
|