[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

Hi,
I have the same problem with the wizard with database server Sybase 12.x and 15.x
At the DataSourceExplorer I see all schmeas, tables, etc. but in the wizard, the schema-combo is empty.


Greetings
Heiko


Am 11.08.2009 17:45, schrieb yhovart:
Hello,

I have the same kind of problem using Eclipse Galileo's integrated Dali
plugin and connecting an MSSQL Server 2005 database.

Testing with postgre is allright but when connecting to MSSQL Server
(with JTDS or Microsoft drivers) i can choose a catalog in the "generate
entites from table" wizard but not the schema (the combo box is empty).

I thought the default schema would be used (dbo) but it is not.
I also tried to create a schema using my user connection name but it
doesn't work either.

Any workaround or fix?
I will have to copy my database on postgre each time an evolution
occuirs on the model ... this is not every handy. Or i may won't be able
to use Dali at all.

Notice : the selection of catalog or schema doesn't work either by
deault in JPA details or Java code. But i managed to "fix" it by
specifying persistence-unit-defaults (catalog and schema) in orm.xml
(which i don't need basically).

Any help will be appreciate,
Thx.