Uploaded image for project: 'Corda'
  1. CORDA-1548

Hibernate session not flushed before handing over raw JDBC session to user code (e.g. coin selection)

    Details

    • Type: Bug
    • Status: Done (View workflow)
    • Priority: High
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: Corda 3.2, Corda 3.3
    • Component/s: None
    • Labels:
      None

      Description

      `CordaPersistence.createSession()` should do a Hibernate flush before returning the connection
      e.g. cash selection can't access states inserted during the same database transaction

        Attachments

          Activity

            People

            • Assignee:
              Szymon.Sztuka Szymon Sztuka
              Reporter:
              Rick.Parker Rick Parker
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: