0 Replies Latest reply on Jun 22, 2006 11:24 AM by jack70_chen

    how to get a smaller subset of data


      Hi, I am using EJB3 with SEAM.

      I have two entity beans, Person and Employee (extends from Person), and I use joined strategy.

      Now I want to only retrieve a subset of data from both Person and Employee tables.

      Can I create another entity bean to map to the above two tables so that i can use it to retrive the subset data? I tried it, but i always get nested sql exception.

      if not, what's the best way to do it?