Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.tools -> How do you retrive the CURRVAL of the sequence from a servlet?

How do you retrive the CURRVAL of the sequence from a servlet?

From: Yi Jin <yijin_at_wam.umd.edu>
Date: 2000/05/04
Message-ID: <8es2j8$ovv@rac2.wam.umd.edu>#1/1

I need to put the current value of a sequqnce in a text field in a servlet. How do you retrive it from JDBC?

Do I have to invoke nextval before retrive currval? What is the best way to retrive the currval without invoke nextval?

The column is either generated from the sequence, or manuall entered.

Thanks.

YJ Received on Thu May 04 2000 - 00:00:00 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US