-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: middlegenException......
PostPosted: Thu Mar 25, 2004 4:31 am 
Newbie

Joined: Wed Mar 24, 2004 8:17 pm
Posts: 1
Hi everyone:

I'm installing middlegen 2.0b1;but it(middlegen)throw a exception when
bulid it;there exception at the following:
[middlegen] No <table> elements specified. Reading all tables. This might take a
while...

BUILD FAILED
J:\middlegen\samples\build.xml:200: middlegen.MiddlegenException: Middlegen succ
essfully connected to the database, but couldn't find any tables. Perhaps the sp
ecified schema or catalog is wrong? -Or maybe there aren't any tables in the dat
abase at all?
thanks for any hints!

com_a


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 26, 2004 9:53 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
The message is stating that it could no find any tables.
Ask yourself:

Have you setup the JDBC driver correctly?
Does the JDBC driver support meta data ?

Mostly these have occured when people have not setup the JDBC connection correctly or are using beta or buggy JDBC drivers. I would suggest you try coding a small app and get meta data from a JDBC connection and see if it works.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 27, 2004 12:25 pm 
Newbie

Joined: Sat Mar 27, 2004 12:19 pm
Posts: 1
Location: Florida
run "ant create-tables" first for the sample. Then run "ant"


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.