on 02-21-2006 6:43 AM
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.
Hi Neethu ..
can u create one more finderMethod in ur EJB?.
then that will be dislayed in the persistent.xml files.
u can select that findermethod from Query subtab , and write ur own queries there..
not sure , u can overwrite the standard finderMethod..
Regards
Kishor Gopinatha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.