5 Replies Latest reply on Jun 26, 2009 7:29 PM by Tanya Ruttenberg

    How to sort @OneToMany mapping class?

    Khilesh Prasad Newbie

      Hi All,
      Any one help me how to use to sort mapping class column field by using seam annotations



       @OneToMany(fetch = FetchType.EAGER,
                   mappedBy="test",
                  targetEntity=com.test.Test.class)
      List<Test> ts = ArrayList<Test>();
      


      i want to sort test class column field........
      Please help me
      Thank you