Hi, there is a bug with the build.xml script with the 2.0 beta 1 version
(downloadable). In the <middlegen> task i build.xml, schema is simply set
to blank (schema=""), this should reference the schema set in the database
file (schema="${database.schema}"). The catalog is missing entirely,
should be catalog="${database.catalog}".There has also been some reports of schema="" and no schema attribute at all showing different results. Your problem is most likely linked to this catalog/schema stuff. Try searching the mailinglist for similar issues, this is a very common problem. .eivind On Fri, 17 Jan 2003, Van Roey Gunther wrote: > Hello, > > I'm using MiddleGen 2.0 beta 1 on MySQL Successfully. > With Oracle, however, it keeps giving me the same error: > > build.xml:139: middlegen.MiddlegenException: Middlegen successfully connected to the >database, but couldn't find any tables. Perhaps the specified schema or catalog is >wrong? -Or maybe there aren't any tables in the database at all? > > While there are tables in the database! > No catalog is needed, and the schema is simply the db user's name. > > I'm using the oracle thin driver (classes12.zip), I put the URL, username and >password in the oracle.xml (also tried to put in the schema name, but this didn't >help) > > Putting <table> elements in the build.xml file didn't help either... > > Just for testing, I downloaded version 1.0, and I got this one running with the same >database in seconds ... > Am I forgetting some configurations needed for 2.0 or is this a bug? > > Does anyone know how to solve this problem? > > regards, > > Günther. > ------------------------------------------------------- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en _______________________________________________ middlegen-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/middlegen-user
