-->
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: retrieving collection reference by invoking own Java method
PostPosted: Mon Mar 12, 2007 11:14 pm 
Newbie

Joined: Thu Jan 25, 2007 4:57 am
Posts: 5
Hi,

I have a 1-n relationship from entity A to entity B.
i.e A holds a collection of B. I do not have auto-retrieve (lazy=true) set up for
B's collection on A's POJO.

I would however like B's collection to be retrieved and
populated on A when A is constructed by invoking a given Java
method
on a facade.

Essentially, I'd like Hibernate to invoke a given method on a
util class to populate the collection on an entity.

Is this possible ? if yes how ?

Thanks in advance for your help.

_________________
RgDs
~Nitu


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.