public final class SQLPersistenceExecutor:
Prepared SQL persistence executor owned by one EntityManager session.
Mapping reflection and dialect selection are completed before execution; per-operation work only renders validated identifiers, binds values and consumes provider results.
| Modifier and Type | Member | Description |
|---|---|---|
| public | SQLPersistenceExecutorSQLPersistenceExecutor(
configuration as SQLConfiguration,
session as SQLProviderSession
): |
Creates one manager-scoped persistence executor. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | deletedelete(mapping as SQLMappedEntity, entity as Object) as Long: |
Deletes one entity by its mapped identity. |
| public | findfind(mapping as SQLMappedEntity, id as Object) as Object: |
Finds one entity by identity, returning null when absent. |
| public | insertinsert(mapping as SQLMappedEntity, entity as Object) as Long: |
Inserts one new entity and assigns a generated identity when configured. |
| public | updateupdate(
mapping as SQLMappedEntity,
entity as Object,
changed as IList<SQLPropertyMapping>
) as Long: |
Updates only changed persistent properties. |