flushCache

Sends all pending Entity inserts and updates stored in this transaction's EntityCache to the database.

Return

A list of all new entities that were stored as scheduled for insert.

Samples

org.jetbrains.exposed.sql.tests.shared.entities.EntityTests.testInsertChildWithFlush