Oracle Sequence Transactionality

后端 未结 4 1650
感情败类
感情败类 2021-01-04 06:15

I need for a particular business scenario to set a field on an entity (not the PK) a number from a sequence (the sequence has to be a number between min and max

I de

4条回答
  •  温柔的废话
    2021-01-04 06:46

    sequence.nextval never returns the same value (before cycled) for the concurrent request. Perhaps you should check the following URL:

    http://docs.oracle.com/cd/B19306_01/server.102/b14220/schema.htm#sthref883

提交回复
热议问题