Skip to Main Content

DevOps, CI/CD and Automation

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!

fn:bea execute sql returning error

794954Jan 11 2011 — edited Feb 9 2011
Hi,

I am trying to use execute sql function in OSB.

Below is the statement i have used.

fn-bea:execute-sql('jdbc/MW_DB_DS', 'select value from GLOBALVARIABLES where Variable=?','ISDown')

data source name - jdbc/MW_DB_DS
Column name - ISDown

I am getting the below error when i am trying to use the function


Error executing the transformation: line 1, column 1: {bea-err}RDBW0001: [jdbc/MW_DB_DS]: [IsDown]: Error obtaining database connection 'jdbc/MW_DB_DS': Unable to resolve 'jdbc.MW_DB_DS'. Resolved 'jdbc'

I tested the datasource from weblogic server console and its fine.

I checked the syntax of the execute sql function and i could see as

fn-bea:execute-sql($datasource-string, $rowElemName, $sql-string, $params...)


So i even tried this


fn-bea:execute-sql('jdbc/MW_DB_DS', 'rec','select * from GLOBALVARIABLES where Variable=?','ISDown')
I am still getting the same error. Is it some thing to do with data source?? I checked the conenctivity and tried increasing the max connections but still i am getting the same erorr.


Any suggestions on this??
This post has been answered by 794954 on Feb 9 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 9 2011
Added on Jan 11 2011
9 comments
1,536 views