[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [dtp-dev] Firebird enablement in DTP


I think the practice for schema-less databases (notably MySQL) is to dummy-out the schema with the database name.  Thus, at least for MySQL, the qualified name would be correct and the schema object would never be null.  Obviously, we can revisit this issue when we fix the defects but I thought the information might help you workaround your current issues.

Larry Dunnell
RAD Data Tools, DB2 Tooling,  Eclipse WTP Project and Eclipse DTP Project
IBM DB2 Information Management Software

Roman Rokytskyy <rrokytskyy@xxxxxxxxxxx>
Sent by: dtp-dev-bounces@xxxxxxxxxxx

02/25/2007 10:36 AM

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

DTP development mailing list <dtp-dev@xxxxxxxxxxx>
Re: [dtp-dev] Firebird enablement in DTP


Thanks for your reply.

> As far as the Sample Contents and Data Editor features,  I would say
that this is a defect.  These features should be aware of the whether or
not schema are supported.  Please open two defects for this,  one
against Sample Contents and one against the Data Editor.
> Generally, since the supportsSchema() method is available from the
Database Definition, all DTP features should be checking this as
necessary in order to provide the proper behavior.

I have opened following bug reports:


They also include suggested fix, which I have tested locally. It works,
though I used the released sources, not the CVS snapshot. I have
included all plugin jars in classpath when compiling the fixes, so it
might not respect some plugin dependencies, etc.

One more issue - different places of DTP check whether to use fully
qualified name differently. Some (TableHelper in bug 175454) check
whether Table.getSchema() returns null. However in other places DTP uses
table.getSchema().getName() code to get the schema name. Obviously, it
would generate NPE if Table.getSchema() returns null.

And one more question: are there any plans to release a bugfix DTP
release or the next release will be DTP 1.5?


dtp-dev mailing list