-->
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.  [ 4 posts ] 
Author Message
 Post subject: How to reverse engineer indices?
PostPosted: Mon Oct 31, 2005 4:07 pm 
Newbie

Joined: Mon Oct 31, 2005 3:30 pm
Posts: 3
Hibernate Tools version: 3.1.0 Beta1
MySQL connector version: 3.1.11

I have an existing MySQL catalog which contains serveral tables, each of which has some indices. But when I try to reverse engineer these tables to EJB3 annotated entities from inside Eclipse, I could NOT find any indices are actually annotated in the generated code, while unique constraints were properly done. Am I missing something?

Thanks a ton,

FY


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 31, 2005 4:44 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
no, but its probably just not added to the ejb3 annotation support.

add a request to jira.

btw. what do you want them for if you already have the db ?

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: How to reverse engineer indices?
PostPosted: Tue Nov 01, 2005 10:04 am 
Newbie

Joined: Mon Oct 31, 2005 3:30 pm
Posts: 3
Well, since we want to support multiple databases, so ideally, if we can use EJB3/Hibernate annotations to generate/export database schemas for various databases without touching sql scripts, it will tremendously speed up our packaging and deployment. Otherwise, we still have to manually maintain those scripts and synchronize with annotations, which is a bit hassle.

But why constraints are implemented, not indices?

Thanks,

FY


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 01, 2005 10:29 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
because we prioritize our work ? ;)

add a jira request for it or even better add the support your self and get it immediatly.

_________________
Max
Don't forget to rate


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