Permalink
Browse files

[342411] Applied patch to o.e.d.enablement.mysql

  • Loading branch information...
1 parent c3e36b8 commit 7be0282e39b81e800226cfe696df52e1e16606f8 Brian Payton committed Aug 9, 2012
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.datatools.enablement.mysql; singleton:=true
-Bundle-Version: 1.0.2.qualifier
+Bundle-Version: 1.0.3.qualifier
Bundle-Activator: org.eclipse.datatools.enablement.mysql.MysqlPlugin
Bundle-Vendor: %providerName
Bundle-Localization: plugin
@@ -85,4 +85,8 @@ public Index findIndexWithColumnName(String colName) {
public Database getCatalogDatabase() {
return this.getSchema().getDatabase();
}
+
+ protected void loadSupertable() {
+ supertableLoaded = Boolean.FALSE;
+ }
}
@@ -16,7 +16,6 @@
import java.sql.SQLException;
import org.eclipse.datatools.connectivity.sqm.core.definition.DatabaseDefinition;
-import org.eclipse.datatools.connectivity.sqm.core.rte.jdbc.JDBCColumn;
import org.eclipse.datatools.connectivity.sqm.loader.JDBCTableColumnLoader;
import org.eclipse.datatools.enablement.mysql.catalog.MySqlCatalogColumn;
import org.eclipse.datatools.modelbase.dbdefinition.PredefinedDataTypeDefinition;
@@ -41,7 +40,7 @@ protected ResultSet createResultSet() throws SQLException {
}
protected Column processRow(ResultSet rs) throws SQLException {
- Column column = new JDBCColumn();
+ Column column = new MySqlCatalogColumn();
final String columnName = rs.getString(4);
column.setName(columnName);

0 comments on commit 7be0282

Please sign in to comment.