Community
Participate
Working Groups
Build ID: I20061214-1445 Steps To Reproduce: 1. Create a connection profile to be used with Oracle 10 2. Connect to the database 3. Explore the database in the Datasource Explorer - you see the dabase objects - you cannot select a schema as filter in the properties of the database - you cannot open a stored procedure: Failed to get source 4. Create or edit a SQL file 5. Use the connection profile created in 1. within the 'Set Connection Profile' dialog 6. The content assist does not offer any database related objects (tables, columns, other) at any place in the source More information: I debugged some of the code of the content assist and figured out that the wrong schema gets received. SQLDBProposalsService.loadDBProposals() line 252: getSchema(database, request.getDatabase(), request.getSchema()) there request.getDatabase() returns null. This invokes ModelUtil.getSchemas(). Because the catalogName is null the catalog name is set to the database name. I figure out that my Database object returns empty schemas with the database name as catalog name, nut the actual valid schema has '' as name. I don't know either the name of the catalog in the database is wrong or if the chosen default should be the empty string.
For consideration in Enablement
Content assist for table names works for me in the meantime. I've never seen a column name completion, though, but I don't know if DTP supports that at all...
Have you tried the actual Oracle plug-ins from Oracle's site? http://oss.oracle.com/dbplugin-eclipse-dtp.html The Oracle implementation in Enablement is just a base implementation. I doubt it includes the content assist bits. We are working with the Oracle folks to try and get their full featured plug-ins into Enablement for Galileo, but we're still not sure that will happen.
The current DTP maintainers have no expertise in Oracle, and as is pointed out in one of the previous comments, the Oracle plugin in DTP is really just a stub. Oracle has made a more full-featured DTP plugin available.