[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.dali] Re: Generate Entities from Tables not working

Neil:

I tried WTP/Dali 3.1/2.2 M6 -

http://download.eclipse.org/webtools/downloads/drops/R3.1/S-3.1M6-20090318020101/

with newly released Eclipselink 1.1

I am still getting similar results.  Some of the problems:

Project > properties > Java Persistence
Override default catalog from connection DOES see the catalog on the i5
Override default schema from connection DOES NOT not any schemas.
It sees the catalog of the i5, that seems to indicate the connection is partially working.


Java Editor throws validation errors when the database is connected.

New > JPA > Generate Entity From Table
 Does not show any schemas when the database is connected.

The schema and table names on this i5 are not SQL friendly. Could that be a problem? Our schema and table names include these special characters.

 @  $  # and digits 0 - 9.

Our schema and table names start with a letter, @, $ or #. The data source explorer handles this. Could this non-standard table and schema names be the cause of the problem?

These are the key errors begin logged. It looks like each time the schema is requested there is a failure logged. My experiments boil down to three initial errors (for the three problems I listed above?)

java.lang.NullPointerException
at org.eclipse.jpt.ui.internal.wizards.gen.TableAssociationsWizardPage.updateAssociationsListPanel(TableAssociationsWizardPage.java:560)


java.lang.NullPointerException
at org.eclipse.jpt.ui.internal.wizards.gen.TablesAndColumnsCustomizationWizardPage.setVisible(TablesAndColumnsCustomizationWizardPage.java:149)


java.lang.NullPointerException
at org.eclipse.jpt.ui.internal.wizards.gen.GenerateEntitiesFromSchemaWizard.performFinish(GenerateEntitiesFromSchemaWizard.java:206)



Over the next few days I am going to try debugging as suggested earlier in this thread.



Thanks Bill Blalock