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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

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
4,920 views