[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 Hauge wrote:
Bill,
It sounds like you need to get the DB2 Enablement plugins from DTP, which
you could do via the Ganymede update site. This should bring back the DB2
options in the connection wizard. I'm not sure if this will fix your
problem, but we should probably start there.
Neil
Thanks for your time Neil!
No joy -- In a nut shell I loaded Dali R-2.1.11 in a fresh Eclipse. The
DB2 enhancements are available but Dali can't run the Build entity from
Table nor validate against the data base connection.
See the gorry details below.
get the DB2 Enablement plugins from DTP
I tried that and ended up disabling JPA in my working Eclipse. No errors
in log but it no longer has a JPA perspective.
Okay. Hmmm. Tried something else... This post mentioned the R-2.1.11 so
I built a new Eclipse following the directions on
http://download.eclipse.org/webtools/downloads/drops/R2.1/R-2.1.1-20090226062131/
Since this is all latest and greated I downloaded Eclipselink 1.1RC
I created a new workspace.
This one has a JPA perspective and it had the DB2 options in connection
wizard.
Hurray!!
But I get the same behavior of the JPA Tools create Entity from Tables is
not showing any schema.
Boo!!!!!!!!!!!!
I manually built Entities.
After I build the Entites JPA has a bunch of errors when the data base is
connected, Schema cannot be resolved and Column cannot be resolved.
I can disconnect the database, compile and run the tests successfully with
these Entites. The Entities and persistence.xml works.
This isn't new for for R-2.1.11, I saw same thing before. I am assuming
these error are part of the same symptom, JPA being unable to get to the
databases to read the schemas and validate the tables.
Thanks
Bill Blalock