public interface DelegateQueryHandler
public interface RepositoryExtensionThe extension is now usable with:{ E saveAndFlushAndRefresh(E entity); } public class DelegateRepositoryExtension implements RepositoryExtension , DelegateQueryHandler { @Inject private QueryInvocationContext context; @Override public E saveAndFlushAndRefresh(E entity) { ... } }
@Repository public interface MySimpleRepository extends RepositoryExtension, EntityRepository { }
Copyright © 2020 The Apache Software Foundation. All rights reserved.