在Java程序中返回游标 [英] returning cursor in a java program

查看:126
本文介绍了在Java程序中返回游标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用存储过程,在该过程中,我正在使用游标从表中获取一些值.
我可以将此游标用作存储过程中的out参数.如果是,那我如何从这个游标中获取值到一个Java程序中呢?
谢谢.

[已编辑]更正了较小的拼写错误[/已编辑]

I am using a stored procedure and in that procedure I am using a cursor to get some values from a table.
can I use this cursor as out parameter in stored procedure. if yes then how can i get the values from this cursor into a java program?
thank you.

Corrected Minor Spelling Errors[/Edited]

推荐答案

您可以设置 ^ ]. SelectionListener将对单击/双击做出反应,并通过Event.getSource()提供目的地.
非常简单,只需阅读我链接到的教程即可.
You can set up a SelectionListener[^]. The SelectionListener will react on a click/doubleclick and provide via Event.getSource() the destination.
Pretty simple, just read the tutorial I linked to.


这篇关于在Java程序中返回游标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆