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: How to index discriminator column?
PostPosted: Wed Feb 08, 2006 10:53 am 
Newbie

Joined: Fri Apr 22, 2005 11:30 am
Posts: 5
Hi,

We use the table per hierarchy strategy and we have noticed that there has been no index generated usinig the discriminator column. Is there a way to create such a index? I feel this would significally improve the performace.

Thanks so much for the help!

Bartek


Top
 Profile  
 
 Post subject: ddl
PostPosted: Wed Feb 08, 2006 6:11 pm 
Expert
Expert

Joined: Fri Jul 22, 2005 2:42 pm
Posts: 670
Location: Seattle, WA
I would suggest generating DB schema from separate from hibernate tool like ErWin or DeZign.

And it is always possible to run an additional SQL script to create indexes you need.

_________________
--------------
Konstantin

SourceLabs - dependable OpenSource systems


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.