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!

how get Ref cursor from mysql?

843859Mar 8 2007
We are in the process of migrating oracle to Mysql.

we have a function in oracle called

Procedure get_customer(o_c OUT refcursor)
BEGIN

open o_c for select customer_id,cust_name
from customer;

END;

I am interested only to have this in stored procedure in mysql.

i do not want to do this in java it self ...
like
Statement stmnt = "select cusotmer_id,cust_name"


Thanks in advance
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 5 2007
Added on Mar 8 2007
0 comments
614 views