Hello community,

Is it possible to add two new methods in the EntityPersistenceRepository
interface?

The first is void attachAndRefresh(E entity) like the existing one void
attachAndRemove(E entity).

    public void attachAndRefresh(E entity) {
        if (!contains(entity)) {
            entity = merge(entity);
        }
        refresh(entity);
    }


The other one is already in jira issue n. 1286 [1] - Support save multiple
entities.

Regards,

Gilberto


[1] https://issues.apache.org/jira/browse/DELTASPIKE-1286

Reply via email to