posted 21 years ago
Thanks for the help. I have but one remaining error in my new 2.0 compliant ejb-jar file. The error is:
"unknown EJB or ASN name: com.bostoncoach.gtx.AFReceiptRegistryKey"
Here is the query:
<query>
<description>Converted from IBM version 1.1 extensions.</description>
<query-method>
<method-name>findByReservationReferenceNumber</method-name>
<method-params>
<method-param>com.bostoncoach.gtx.AFReceiptRegistryKey</method-param>
</method-params>
</query-method>
<ejb-ql>select object(rr) from AFReceiptRegistry rr where rr.reservationReferenceNumber = ?1</ejb-ql>
</query>
I thought perhaps this was due to a change in the EJB 2.0 spec, however when I created a new query using WSAD's tools, using the same class as a method parameter, it created a query that looked identical to this one. Given that this class (AFReceiptRegistryKey) is located within this project's EJB module, why am I getting this error?
Thanks,
Jamie