We're updating the issue view to help you get more done. 

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

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

Status

Assignee

Szymon Sztuka

Reporter

Rick Parker

Labels

None

Affected OS

None

Severity

Medium

Target Version/s

R3 Corda 3.0 GA
Corda 3.2
Corda 3.3

Feature Team

Corda Core

Fix versions

Priority

High