forceUpdateEntity

open override fun <T> forceUpdateEntity(entity: Entity<ID>, column: Column<T>, value: T)

Updates an entity field directly in the database, then removes this entity from the EntityCache in the current transaction scope. This is useful when needing to ensure that an entity is only updated with data retrieved directly from a database query.

Samples

org.jetbrains.exposed.sql.tests.shared.entities.ImmutableEntityTest.immutableEntityReadAfterUpdate