1 Reply Latest reply on May 12, 2004 3:03 AM by sesques

    Problem with Integer fields on @ejb.finder result

    ignacio cuesta Newbie

      I've been doing a CMP with 3 integer fields.
      So, when I create an use this finder:
      * @ejb.finder
      * query="SELECT OBJECT(c) FROM catparents c where c.parentId=?1"
      * signature="java.util.Collection findByChild(java.lang.Integer catId)"

      the result give me the collection of the same row.
      I mean the count result in the query of MSSQL is 13 but the result of collection objects is 13 but with the same data.
      somebody knows this problem ?
      thank a lot!!