Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: EXPOSED-621 IllegalStateException on accessing autoincrement column after insert using Entity #2291

Merged
merged 1 commit into from
Nov 4, 2024

Commits on Nov 1, 2024

  1. fix: EXPOSED-621 IllegalStateException on accessing autoincrement col…

    …umn after insert using Entity
    
    The issue was that the `hashCode()` function was using `sequence` which invokes `autoincSeq` if `_sequence` is null, which then invokes `currentDialect`, and if this is not within a transaction, it will throw an error. The fix is to use `_sequence` instead of `sequence` when generating a hashcode.
    joc-a committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    e717ff4 View commit details
    Browse the repository at this point in the history