I realize this might not be the right place to ask this, but I thought I might give it a shot.
Is there a way to get to an association from an hql query? Currently I have lazy set to false. I don't want to have the caller of my dao method responsible for opening a session to get to a reference. How can i make sure the caller will have the reference available without making the association non-lazy. I assume I can write a HQL query to ensure the association is there.
thanks in advance,
Mike


Reply With Quote