Search in sources :

Example 1 with Identifier

use of org.springframework.data.jdbc.core.convert.Identifier in project spring-data-jdbc by spring-projects.

the class JdbcAggregateChangeExecutionContext method executeInsert.

<T> void executeInsert(DbAction.Insert<T> insert) {
    Identifier parentKeys = getParentKeys(insert, converter);
    Object id = accessStrategy.insert(insert.getEntity(), insert.getEntityType(), parentKeys);
    add(new DbActionExecutionResult(insert, id));
}
Also used : Identifier(org.springframework.data.jdbc.core.convert.Identifier) DbActionExecutionResult(org.springframework.data.relational.core.conversion.DbActionExecutionResult)

Aggregations

Identifier (org.springframework.data.jdbc.core.convert.Identifier)1 DbActionExecutionResult (org.springframework.data.relational.core.conversion.DbActionExecutionResult)1