Discussion:
[Middlegen-user] middlegen can't find MS SQL tables using latest CVS code but hsqldb-gui can
k***@keysolutions.com
2002-12-27 15:07:03 UTC
Permalink
Is anyone having this problem w/ MS SQL?
In the samples directory, I can run "ant hsqldb-gui" and see lots of
tables, so that seems to indicate that the JDBC connection works fine.

If I then run "ant middlegen", I get a Middlegen exception complaining
that
it can't find any tables (default generates all tables). I then
uncommented the
many2many line and it says it can't find the tables listed. I
specified "dbo" as
the database schema; I also tried "" for the database schema; I also
tried putting
this directly into the middlegen tag.

Why does middlegen search for tables differently than hsqldb-gui?


ken

p.s., I switched the database config at the top of build.xml to use
Hypersonic
SQL and Middlegen does find all the tables in Hypersonic as expected,
though
if you use a many2many tag, it can't find tables mentioned in the
many2many
tag, so it does seem like the CVS code is broken now...

Loading...