Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[dtp-pmc] BZ 277799 petition for inclusion in RC3

Hi all...

Roy Gaynor of Zend discovered this potential issue with MySQL in 1.7. For some reason, the SchemaObjectFilterProvider is causing issues for MySQL. I'm wondering if this was caused by regenerating all the models.

The bug is:

Can we include this 5 line fix that only affects the MySQL models in RC3? I think this is a critical fix for sure.


Brian Fitzpatrick
Eclipse Data Tools Platform PMC Chair
Eclipse Data Tools Platform Connectivity Team Lead
Staff Software Engineer, Sybase, Inc.

----- Forwarded by Brian Fitzpatrick/SYBASE on 05/26/2009 08:36 AM -----
"Roy Ganor" <roy@xxxxxxxx>
Sent by: dtp-dev-bounces@xxxxxxxxxxx

05/26/2009 02:49 AM

Please respond to
DTP development mailing list <dtp-dev@xxxxxxxxxxx>

"DTP development mailing list" <dtp-dev@xxxxxxxxxxx>
RE: [dtp-dev] DTP 1.7 and JDBC schemas

Hi again!
I have issued a bug (and a patch) in BZ,
It seems pretty important for Galileo and I guess I can commit this but still I’ll appreciate if you guys can verify it. Basically I removed connection filters for MySQL databases as there are no active filters for such databases.
Thank you for your time,
From: dtp-dev-bounces@xxxxxxxxxxx [mailto:dtp-dev-bounces@xxxxxxxxxxx] On Behalf Of Roy Ganor
Monday, May 25, 2009 6:51 PM
DTP development mailing list
[dtp-dev] DTP 1.7 and JDBC schemas

Hi team, long time no see J
Using the latest DTP Galileo (RC1), it seems that I can’t really connect to a MySQL database. Digging in the code I see that the getCatalog() method of MySqlSchema returns null, hence the SchemaObjectFilterProvider fails with NullPointerException[1].
There are also several other issues (277493, 273360) that are not directly referring to this problem, but I have a feeling can help me understand this situation.
I am willing to fix this issue ASAP, and will appreciate if someone can direct me to any resource about the hierarchy of the model provided by DTP 1.7.
Roy Ganor

Zend Technologies Ltd.

      at org.eclipse.datatools.connectivity.sqm.loader.SchemaObjectFilterProvider.getConnectionFilter(
      at org.eclipse.datatools.connectivity.sqm.loader.JDBCBaseLoader.initActiveFilter(
      at org.eclipse.datatools.enablement.mysql.catalog.loaders.MySqlTableLoader.loadTables(
      at org.eclipse.datatools.connectivity.sqm.core.rte.jdbc.JDBCSchema.loadTables(
      at org.eclipse.datatools.connectivity.sqm.core.rte.jdbc.JDBCSchema.getTables(
      at org.eclipse.datatools.modelbase.sql.schema.impl.SchemaImpl.eGet(
      at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(
      at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(
      at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(
dtp-dev mailing list

Back to the top