Hi,
When I create a
EJB QL query on a CMP field that has a user defined
data type (mypackage.Mod11Number), I get the following error (after
the validation of the project):
unknown EJB or ASN name: mypackage.Mod11Number in ejb-jar.xml
In the mapping editor there is a transformation to convert the Decimal
in the DB2 database into the mypackage.Mod11Number type, somehow the
ejb-jar.xml validation cannot find the mypackage,Mod11Number type.
Any suggestions ?
regards,
Tania Ramos
<query>
<description></description>
<query-method>
<method-name>findContractByContractnummerUI</method-name>
<method-params>
<method-param>mypackage.Mod11Number</method-param>
</method-params>
</query-method>
<ejb-ql>select object(o) from Contract o where o.contractnummerUI =
?1</ejb-ql>
</query>