Skip to Content
0
Former Member
Feb 20, 2006 at 05:58 AM

Problem in placing the EJB queries

19 Views

Hi all,

I am working on the migration of an application from J2EE to SAP WAS.

The original application contains some EJB queries present in the file sun-j2ee-ri.xml.

Entery for one of the query is given below:

<ejb20-cmp>

<sql-statement>

<operation>storeRow</operation>

<sql>UPDATE "UserEJBTable" SET "password" = ? WHERE "userName" = ? </sql>

</sql-statement>

<sql-statement>

<operation>findByPrimaryKey</operation>

<sql>SELECT "userName" FROM "UserEJBTable" WHERE "userName" = ? </sql>

</sql-statement>

</ejb20-cmp>

I cannot understand where(in which file) to make entry for this query.

Please help me out with this problem.