Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Database Adapter Configuration Execute Pure SQL

Priyanka SarodeSep 1 2012 — edited Sep 2 2012
Hii

I have following scenario in my Project.
I have ERRORCODE Details Table in Database which has following columns.
1)ERRORCODE VARCHAR2
2)PRIORITY VARCHAR2
3)QueueName Varchar2

I have one web service which takes errorcode as input parameter of string type in which i have to pass values like 1,2,3.
Web service treated these values as complete one string value but i want it should be treated like seperately.Beacuse i have to pass these values to the query.

I have configured database adapter for the following query using Execute Pure SQL.

SELECT DISTINCT QueueName FROM ErrorCodeDetails where priority= (select min (priority) from ErrorCodeDetails where ErrorCode In(#ERRORCODE))


So can anyone please help me what changes i have to make in this query so the sql query treat the errorcode string value as three different value rather than one single value??

Thanks in advance.

Regards,
Priyanka
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 30 2012
Added on Sep 1 2012
1 comment
462 views