-->
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: Configure a combined, inherited index on a mapped superclass
PostPosted: Wed Oct 12, 2011 9:03 am 
Newbie

Joined: Wed May 11, 2011 6:36 pm
Posts: 8
i want to create an index with multiple columns on a mapped superclass.
The default way in hibernate is the hibernate extension to @table that contains an indexes property.

my problem is that the mapped superclass is abstract and has 10 classes that need to inherit the index. That means in my database are 10 tables that require this index. Since org.hibernate.annotations.Table requires an entry in the appliesTo property this is a problem.

How can i create my index the right way?


Top
 Profile  
 
 Post subject: Re: Configure a combined, inherited index on a mapped superclass
PostPosted: Mon Oct 17, 2011 9:38 am 
Newbie

Joined: Wed May 11, 2011 6:36 pm
Posts: 8
push


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.