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!!
Hi,
Are you sure you iterate correctly within the collection ?
If yes, post more informations:
JBoss version
Your code.
Pascal