-
problem weblogic 6.1 with Jbuilder6 entr
I have problems with my entity beans cmp.
In the local home interface I have a finder definition:
public Collection findByClientID(java.lang.Integer idCli) throws FinderException;
and in the ejb-jar(xml):
<query>
<query-method>
<method-name>findByClientID</method-name>
<method-params>
<method-param>java.land.Integer</method-param>
</method-params>
</query-method>
<result-type-mapping>local</result-type-mapping>
<ejb-ql><![CDATA[ SELECT OBJECT(a) FROM UpdateFacture AS a WHERE a.idClient=?1]]>
</ejb-ql>
</query>
but when I deploy the jar in weblogic,
I have this exception:
couldn't parse ejb-ql expression "select etc..."
could someone help me please
-
Re: problem weblogic 6.1 with Jbuilder6 entr
In the select the AS is not needed, try this statement:
SELECT OBJECT(a) FROM UpdateFacture a WHERE a.idClient=?1
Let me know if this one did not work either.
Best regards,
Carlos Saltos
Infoobar
IT Manager
http://www.infoobar.com
"bzoler" <bzoler@skynet.be> wrote:
>
>I have problems with my entity beans cmp.
>In the local home interface I have a finder definition:
>public Collection findByClientID(java.lang.Integer idCli) throws FinderException;
>
>
>
>and in the ejb-jar(xml):
><query>
><query-method>
><method-name>findByClientID</method-name>
><method-params>
><method-param>java.land.Integer</method-param>
></method-params>
></query-method>
><result-type-mapping>local</result-type-mapping>
><ejb-ql>[CDATA[ SELECT OBJECT(a) FROM UpdateFacture AS a WHERE a.idClient=?1]]
>
></ejb-ql>
></query>
>
>but when I deploy the jar in weblogic,
>I have this exception:
>
>couldn't parse ejb-ql expression "select etc..."
>
>could someone help me please
>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|