-->
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.  [ 1 post ] 
Author Message
 Post subject: Inheritance Join Strategy and DiscriminatorColumn
PostPosted: Mon Jul 05, 2010 12:09 pm 
Newbie

Joined: Mon Jul 05, 2010 11:56 am
Posts: 3
Hi,

We are using JPA annotations in a standard seam application.

I have seen this jira http://opensource.atlassian.com/projects/hibernate/browse/ANN-140 and was wondering whether this is still how things stand.

Is is not possible to use a DiscriminatorColumn when using the join inheritance strategy?

I understand that it is not required but in our case we have hundreds of classes extending a particular class. This causes the polymorphic query to be huge with too may joins slowing things down drastically.

We are using Postgres at present but plan on supporting multiple dbs. I think mysql has a limit to the number of joins in which case our model will break.

Thanks
Pieter


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

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.