Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

is Sequence.next_val thread safe?

RP24Jul 3 2018 — edited Jul 4 2018

I have a code that gets next value from sequence using select seq_name.nextval from dual.

is it possible for this query to return same value when executed by different threads at same time?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 1 2018
Added on Jul 3 2018
5 comments
5,183 views