Skip to Main Content

Java Development Tools

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!

got an error while creating bind variables using sql database.

656736Sep 16 2008 — edited Sep 19 2008
iam going to use sql database for ADF-BC .

i created the bind variable and apply the bind position for the corresponding variable in the view object editor.when i click test it shows me "query is valid". when i tried to run that it gives me two errors.
1) sql error during statement preparation.(ie) select empid ,empname......from the emptable where empid like :'emp' and
2) [Microsoft][SQl server 2000 driver for jDBC] invalid parameter bindings


i need help to know the solution for this...(or) is there any other way to create bind variable ......
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 17 2008
Added on Sep 16 2008
5 comments
849 views