This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes Cursor Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Cursor" Watch "Cursor" New topic


ALaxmi Shankaran

Joined: Feb 23, 2004
Posts: 26
Please Can any one tell me how to open the cursor in the java application?
And which is the faster ? to open the cursor on the database server or
to open it on the application server?
Eddie Vanda
Ranch Hand

Joined: Mar 18, 2003
Posts: 281
Hi Alaxmi,
If you are talking about a database cursor you should check out the JDBC package, and if you are talking about a screen cursor then check out setCursor/getCursor (in the Component class) as well as the Cursor class itself. Eg:

The nice thing about Standards is that there are so many to choose from!
Don't get me started about those stupid light bulbs.
subject: Cursor
Similar Threads
Open Cursor Exceeded in Oracle
ORA-01000: maximum open cursors exceeded
WA #1.....word association
Database locks
Handling huge resultset