-->
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.  [ 2 posts ] 
Author Message
 Post subject: middlegen-hibernate-r5 : couldn't find any tables
PostPosted: Fri Sep 29, 2006 11:12 am 
Newbie

Joined: Fri Sep 29, 2006 11:01 am
Posts: 2
Hello

I'm using hibernate 2.1.4 (i aslo tested with hibernate 3) and middlegen-hibernate-r5 in order to generate the mapping files on Sybase DB.

My Sybase.xml included in the build file looks like this :

Sybase.xml wrote:
<property name="database.driver.file" value="${lib.dir}/jconn2.jar"/>
<property name="database.driver.classpath" value="${database.driver.file}"/>
<property name="database.driver" value="com.sybase.jdbc2.jdbc.SybDriver"/>
<property name="database.url" value="jdbc:sybase:yyyyyyyyyyyy"/>
<property name="database.userid" value="XXXXXX"/>
<property name="database.password" value="######"/>
<property name="database.schema" value=""/>
<property name="database.catalog" value=""/>


So when i run the ant task the message is:

Ant task wrote:
BUILD FAILED
D:\test\apps\middlegen\Middlegen-Hibernate-r5\build.xml:149: middlegen.Middlegen
Exception: Middlegen successfully connected to the database, but couldn't find a
ny tables. Perhaps the specified schema or catalog is wrong? -Or maybe there are
n't any tables in the database at all?
Configured schema:
Configured catalog:CIRDEV
Available schemas:
<list of users>
Available catalogs:
<list of shemas>


I tried to delete the shema & catalog in the build.xml, i tried to put some of the returned values (uppercase and/or lowercase) - although it doesn't return the schemas but the users (i also tried with some "good" values) - and others changes, but i still got the same message.

And i'm sure there are tables to read...

Could somebody help me please?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 02, 2006 5:43 am 
Newbie

Joined: Fri Sep 29, 2006 11:01 am
Posts: 2
Ok i hope it will help someones :

i used the middlegen-hibernate-r4 version instead of r5 and it works...

I think there's a bug on the r5... Does any one know where i can post this?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.