Hi all
I am trying to add a few custom find methods to my CMP bean. I am working with Visual cafe 4.0 for ejb deployment. I have added the method to EJBHome. I looked up the 'configuring deployment descriptor' option and it is asking for a query under my find method. I tried entering a query like this: "select * from table_name where column_name ='" + argument_for_find + "'"
It doesn't recognize the find method..
So can anyone help me out here..
Thank you
Shiva
-
Adding custom find methods in CMP (2 messages)
- Posted by: Shiva Ramadoss
- Posted on: March 26 2001 13:06 EST
Threaded Messages (2)
- Adding custom find methods in CMP by Somil Nanda on March 26 2001 16:55 EST
- Adding custom find methods in CMP by muthu swamy on March 27 2001 17:25 EST
-
Adding custom find methods in CMP[ Go to top ]
- Posted by: Somil Nanda
- Posted on: March 26 2001 16:55 EST
- in response to Shiva Ramadoss
Write the Query in WL Query language -
Adding custom find methods in CMP[ Go to top ]
- Posted by: muthu swamy
- Posted on: March 27 2001 17:25 EST
- in response to Shiva Ramadoss
hi,
in weblogic5.1 the query will be
[!CDATA[(operator operandname argument)]]
in the finderquery tag.
where operator is < = > !=
operandname is function parameter name
argument is $0 for firstparameter etc
in weblogic 6.0 the query is different...
it is like this
operandname operator argument
for weblogic 6.0 iam not sure