MutationResultItem.kt from babyfish-ct/jimmer
// Source: https://github.com/babyfish-ct/jimmer | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
package org.babyfish.jimmer.sql.ast.mutation
/**
* The input, resulting entity, and logical outcome of saving one entity.
* Shared by single-save results and individual batch-save items in Java and Kotlin.
*/
interface MutationResultItem<E : Any> {
/** The original immutable entity supplied to the save command; it is never mutated. */
val originalEntity: E
/**
* The entity produced by saving, including resolved/generated ids, version changes,
* and association changes. When a fetcher is supplied, accepted results are materialized
* according to that fet
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key