You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using bit-reversed sequences with the emulator results in a Internal transaction retry aborted and max number of retry attempts has been exceeded error. This happens because Hibernate starts a new read/write transaction when it fetches new identifier values from the sequence.
The text was updated successfully, but these errors were encountered:
Bit-reversed sequences require the use of a read/write transaction.
Hibernate starts a second read/write transaction when it needs to
fetch new identifiers, and this transaction is aborted when it is
running on the emulator. The PooledBitReversedSequenceGenerator
now solves this by rolling back that transaction after getting the
sequence values. This is semantically equivalent to committing the
transaction, as the state of the sequence is durably changed
regardless whether the transaction is committed or rolled back.
Fixes#983
* fix: JSON column DDL was generated as STRING
* feat: support bit-reversed sequences on the emulator
Bit-reversed sequences require the use of a read/write transaction.
Hibernate starts a second read/write transaction when it needs to
fetch new identifiers, and this transaction is aborted when it is
running on the emulator. The PooledBitReversedSequenceGenerator
now solves this by rolling back that transaction after getting the
sequence values. This is semantically equivalent to committing the
transaction, as the state of the sequence is durably changed
regardless whether the transaction is committed or rolled back.
Fixes#983
* test: use JSON null values as well
Using bit-reversed sequences with the emulator results in a
Internal transaction retry aborted and max number of retry attempts has been exceeded
error. This happens because Hibernate starts a new read/write transaction when it fetches new identifier values from the sequence.The text was updated successfully, but these errors were encountered: