配置文件所有数据类型String改为java.lang.String
<query>
<query-method>
<method-name>find</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</query-method>
<result-type-mapping>Local</result-type-mapping>
<ejb-ql><![CDATA[select object(a) from customer a where a.customerId like ?1]]></ejb-ql>
</ query >