Package su.onno.spring
Class OnnoSimpleJdbcRepository<T,ID>
java.lang.Object
org.springframework.data.jdbc.repository.support.SimpleJdbcRepository<T,ID>
su.onno.spring.OnnoSimpleJdbcRepository<T,ID>
- All Implemented Interfaces:
org.springframework.data.repository.CrudRepository<T,,ID> org.springframework.data.repository.PagingAndSortingRepository<T,,ID> org.springframework.data.repository.query.QueryByExampleExecutor<T>,org.springframework.data.repository.Repository<T,ID>
@Transactional(readOnly=true)
public class OnnoSimpleJdbcRepository<T,ID>
extends org.springframework.data.jdbc.repository.support.SimpleJdbcRepository<T,ID>
Spring Data JDBC repository base that implements the framework's deletion-mark contract for
catalogs and documents. Other aggregate types keep Spring Data's ordinary physical deletion.
-
Constructor Summary
ConstructorsConstructorDescriptionOnnoSimpleJdbcRepository(org.springframework.data.jdbc.core.JdbcAggregateOperations operations, org.springframework.data.mapping.PersistentEntity<T, ?> entity, org.springframework.data.jdbc.core.convert.JdbcConverter converter) -
Method Summary
Methods inherited from class org.springframework.data.jdbc.repository.support.SimpleJdbcRepository
count, count, exists, existsById, findAll, findAll, findAll, findAll, findAll, findAll, findAllById, findBy, findById, findOne, save, saveAll
-
Constructor Details
-
OnnoSimpleJdbcRepository
public OnnoSimpleJdbcRepository(org.springframework.data.jdbc.core.JdbcAggregateOperations operations, org.springframework.data.mapping.PersistentEntity<T, ?> entity, org.springframework.data.jdbc.core.convert.JdbcConverter converter)
-
-
Method Details
-
deleteById
-
delete
-
deleteAllById
-
deleteAll
-
deleteAll
@Transactional public void deleteAll()
-