Resolved merge conflicts.

This commit is contained in:
szymonsztuka
2018-05-30 16:36:06 +01:00
10 changed files with 94 additions and 35 deletions

View File

@ -123,6 +123,7 @@ class CordaPersistence(
fun createSession(): Connection {
// We need to set the database for the current [Thread] or [Fiber] here as some tests share threads across databases.
_contextDatabase.set(this)
currentDBSession().flush()
return contextTransaction.connection
}