-->
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: ManyToOne in super class requires concrete class not interfa
PostPosted: Tue Jun 06, 2006 11:55 am 
Newbie

Joined: Thu Jun 01, 2006 11:31 am
Posts: 9
There is no annotation (c.f. AttributeOverride and AssociationOverride) on a sub-class that allows the “one” class referenced by a ManyToOne on a super-class to be overridden.
This makes it impossible to use a ManyToOne in a super-class where the referenced entity is an interface specified via a Java 5 generic. The concrete class is only known to the sub-class.

I have an set of example java files that demonstrate this issue - however as the example consists of more than 10 files, I'm unsure how to post this to the forum (cutting and pasting to the post is not an option - it'd be huge and no one would read it.)

Please advise how I should post this example.

Hibernate Entity Manager: 3.2.0.CR1
hibernate-annotations-3.2.0.CR1
hibernate-3.2.CR2


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.