-->
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.  [ 6 posts ] 
Author Message
 Post subject: Not able to generate relations in mapping,bean files
PostPosted: Thu Feb 28, 2008 12:28 pm 
Newbie

Joined: Thu Feb 28, 2008 12:18 pm
Posts: 10
Hibernate Tools Version: 3.2.0 GA
Database : Derby 10.3.2.1
Eclipse: 3.3.0
Database: Derby Sample DB (Travel)

I'm able to generate Bean+DAO+Mapping files using hibernate tools.But I'm not able to generate the relation ships among the beans.Means there is no core related to relations in bean/mapping files.

I followed all the steps in the tutorial.
Please help me

Thanks
Raghunath


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 28, 2008 2:58 pm 
Newbie

Joined: Thu Feb 28, 2008 12:18 pm
Posts: 10
This is happening HibernateTools-nodeps-3.2.0.beta9a also.

Please help me..

Thanks
Raghu


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 28, 2008 3:54 pm 
Newbie

Joined: Thu Feb 28, 2008 12:18 pm
Posts: 10
Hibernate Tools 3.2.0 GA, it's not generating the foreign key constraints in reverse engineering file. Do we need to include this manually into hibernate.reveng.xml?

And I'm running thru choosing the opetion "Reverse Engineering trhu JDBC"

Other wise it's giving ArrayIndexOutofbounce Exception

Is this a bug?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 04, 2008 11:58 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
what ArrayIndexOutOfBounds exception ?

with respect to relationships it sounds like the derby driver is not returning consistent metadata.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 05, 2008 12:07 am 
Newbie

Joined: Thu Feb 28, 2008 12:18 pm
Posts: 10
ArrayIndexOutofbounce exception came when I selected *.* tables (console)
I selected all tables rather *.* now I'm not facing this problem.

And regarding mappings in DAO for Derby ,Derby is not supporting table metadata. So I generated DAOs using mysql (Derby and Mysql is having same sql syntaxes) . So all problems got resolved..
:)

Thanks
Raghunath


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 05, 2008 10:17 pm 
Newbie

Joined: Wed Jan 19, 2005 2:39 pm
Posts: 16
So - reverse engineering derby - at least with relationships in tact - is currently impossible? Is that the consensus?


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