diff --git a/entity-store/src/main/kotlin/jetbrains/exodus/entitystore/orientdb/OVertexEntity.kt b/entity-store/src/main/kotlin/jetbrains/exodus/entitystore/orientdb/OVertexEntity.kt index 27cc7db12..da1990f54 100644 --- a/entity-store/src/main/kotlin/jetbrains/exodus/entitystore/orientdb/OVertexEntity.kt +++ b/entity-store/src/main/kotlin/jetbrains/exodus/entitystore/orientdb/OVertexEntity.kt @@ -133,7 +133,7 @@ open class OVertexEntity(vertex: OVertex, private val store: OEntityStore) : OEn vertexRecord.identity.reset() (vertexRecord as ORecordAbstract).also { - resetToNew() + it.resetToNew() (it.identity as ORecordId).clusterId = clusterId } }