Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [dtp-dev] DTP 1.7 and JDBC schemas

Hi again!

I have issued a bug (and a patch) in BZ, https://bugs.eclipse.org/277799.

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,

Roy

From: dtp-dev-bounces@xxxxxxxxxxx [mailto:dtp-dev-bounces@xxxxxxxxxxx] On Behalf Of Roy Ganor
Sent: Monday, May 25, 2009 6:51 PM
To: DTP development mailing list
Subject: [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.

 

Regards,

_______________________
Roy Ganor
Zend Technologies Ltd.

 

[1]

java.lang.NullPointerException

      at org.eclipse.datatools.connectivity.sqm.loader.SchemaObjectFilterProvider.getConnectionFilter(SchemaObjectFilterProvider.java:49)

      at org.eclipse.datatools.connectivity.sqm.loader.JDBCBaseLoader.initActiveFilter(JDBCBaseLoader.java:86)

      at org.eclipse.datatools.enablement.mysql.catalog.loaders.MySqlTableLoader.loadTables(MySqlTableLoader.java:79)

      at org.eclipse.datatools.connectivity.sqm.core.rte.jdbc.JDBCSchema.loadTables(JDBCSchema.java:128)

      at org.eclipse.datatools.connectivity.sqm.core.rte.jdbc.JDBCSchema.getTables(JDBCSchema.java:89)

      at org.eclipse.datatools.modelbase.sql.schema.impl.SchemaImpl.eGet(SchemaImpl.java:597)

      at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjectImpl.java:1013)

      at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjectImpl.java:1005)

      at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjectImpl.java:1000)

 


Back to the top