override fun hasPropertyChanges()

in dnq-transient-store/src/main/kotlin/com/jetbrains/teamsys/dnq/database/TxnDiffChangesTracker.kt [56:64]


    override fun hasPropertyChanges(transientEntity: TransientEntity, propName: String): Boolean {
        val oldValue = getPropertyOldValue(transientEntity, propName)
        val newValue = getSnapshotEntity(current, transientEntity).run {
            getProperty(propName) ?: getBlobString(propName)
        }
        if (oldValue === newValue) return false
        if (oldValue == null || newValue == null) return true
        return oldValue != newValue
    }