[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Oracle Sequence Objects
Well, if that feels too much of a cludge, you could wrap it in an object
structure. Sequencer, OracleSequencer etc.
The OReilly Oracle/JDBC book [very useful] doesn't mention it, so my
instinct is to think that the oracle driver doesn't add support for this.
I do the exact same thing you do.
On Thu, 14 Nov 2002 email@example.com wrote:
> I need to access an Oracle Sequence object via JDBC.
> My current kluge(?) is to run a query:
> select My_Seq.NEXTVAL from dual;
> it seems to work....
> Is there a better way?
> Thanks in advance,
> Alan Herod