-->
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: Foreign keys missing by reveng, latest drivers
PostPosted: Thu Nov 13, 2008 12:34 am 
Newbie

Joined: Tue May 27, 2008 7:11 am
Posts: 5
Hello,

We are starting a new project and the db schema is ready. We are using MySQL 5.0.67 and all our tables are InnoDB. As connector we are using the mysql jdbc connector v.5.1.7.

But still, I'm unable to retrieve foreign keys from db with eclipse (Hibernate Tools plugin)?

We are using Eclipse 3.4 + latest beta of Tools, should I try
with Eclipse 3.3 + stable version of Tools?

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 19, 2008 7:39 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
is the foreign keys actually defined ?

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 19, 2008 10:07 am 
Newbie

Joined: Tue May 27, 2008 7:11 am
Posts: 5
Yep,

It's about a bug on mysql driver and windows systems.
It's supposed to be case insensitive but if the internal metadata storage and the schema name on the connection url doesn't match, by case basis, it can connect the data but not retrieve the metadata somehow.

I tried to find the bug to post it here, but no lock.

Any way, switching mysql to case sensitive mode, and recreating schema solved the problem...

Thanks


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.