1 Reply Latest reply on Feb 6, 2012 3:54 PM by Adam Warski

    Selection of single object incase of hibernate relationships

    Brahmaiah Doma Newbie

      Hi,

       

         I have relationships like OnetoMany and ManyToOne in one of my class to the other classes.Here my problem is ,when I am trying to save the parent object,I am able to save all the child objects .But ,when I am trying to select parent object ,I am getting the child objects also and the same in reverse manner also.If I want to get only one object depending on my criteria,what should I do.Please help me As soon as Possible.It is required for me to improve the performance of my application.