Skip to Main Content

Java Database Connectivity (JDBC)

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!

store procedure doesn't return resultset

843854Feb 15 2005 — edited Feb 16 2006
hi guys
i m stuck in a prob.I am using "com.microsoft.jdbc.sqlserver.SQLServerDriver"
when i call a normal query it run fine but when i try to call a store procedure it gives no result set was produce, is it a problem with driver but if i use jdbsodbc driver it work fine.
code:-

pStmt= conn.prepareStatement("{call insertOpacResultsTemp(?,?,?,?,?)}");
pStmt.setString(1,sUserID);
//and other parameters
Resultset=pStmt.executeQuery();

plz guys help me out
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 16 2006
Added on Feb 15 2005
16 comments
1,920 views