-->
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: Fetching stragety annotations
PostPosted: Thu Apr 27, 2006 3:23 am 
Beginner
Beginner

Joined: Fri Apr 09, 2004 12:47 pm
Posts: 36
Is there any annotation that allow me to specify that I'd like to use a subselect fetching strategy for associations instead of a single select for each associated object?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 27, 2006 10:51 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
not yet but I've started to think about it

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 27, 2006 12:46 pm 
Beginner
Beginner

Joined: Fri Apr 09, 2004 12:47 pm
Posts: 36
Generally speaking, is it complicated to create new annotation and make Hibernate chew them?
If not, I may be interested to help. Especially if you say something like "missing annotation xxx can be handled more or less like existing annotation yyy".

I'd like to have annotations for fetch strategies and foreign keys.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 27, 2006 2:52 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
It is not really complex
This will affect the same parts of code as @[association](fetch=LAZY), so it should be quite ok to follow
What I want is a @Fetch and a @Lazy annotations.

_________________
Emmanuel


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.