This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes JDBC and the fly likes Sequencer class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Sequencer class" Watch "Sequencer class" New topic

Sequencer class

Amit Madan
Ranch Hand

Joined: Dec 20, 2000
Posts: 32
Hi all
i have read in a book that
Sequencer.getNextNumber(protocol) can be use to get current position of database but when i use it it won't run is there any other mthod for it.
please help me.
Jamie Robertson
Ranch Hand

Joined: Jul 09, 2001
Posts: 1879

can you clarify what you mean by "get current position of database". Do you mean the cursor position?
I agree. Here's the link:
subject: Sequencer class
Similar Threads
All Vowels in an Integer
Best way to update a Entity.
Protect riskey Chat meetings ...
doubt related to "++" operator
[Struts2] how to redirect to the current page with param ?