2 Replies Latest reply on May 23, 2011 3:43 PM by tagnegilles

    Hibernate entity as webservice response

    ashly

      Hi,

       

      I need to return the list of entity class as response to a webservice call. When I return this list back, at the client side I don't get the values in relationship tables.

       

      For example, say I have entity A and entity B.

      Entity A has OneToMany relation with Entity B. When I perform select * from A and pass this as response, at the client side I don't receive any values for entity B.

       

      Please help me to achive this.

       

      Thanks,

      -ash