Interface DetachableJpaRepository<T,ID extends Serializable>
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<T,
,ID> org.springframework.data.jpa.repository.JpaRepository<T,
,ID> org.springframework.data.repository.ListCrudRepository<T,
,ID> org.springframework.data.repository.ListPagingAndSortingRepository<T,
,ID> org.springframework.data.repository.PagingAndSortingRepository<T,
,ID> org.springframework.data.repository.query.QueryByExampleExecutor<T>
,org.springframework.data.repository.Repository<T,
ID>
- All Known Subinterfaces:
CalibrationShapeFitterConstraintsRepository
,MdacParametersFiRepository
,MdacParametersPsRepository
,MeasuredMwsRepository
,PathCalibrationMeasurementRepository
,PeakVelocityMeasurementRepository
,PolygonRepository
,ReferenceMwParametersRepository
,ShapeMeasurementRepository
,SharedFrequencyBandParametersRepository
,SiteFrequencyBandParametersRepository
,SpectraMeasurementRepository
,SpectraRatioJointInversionSampleRepository
,SpectraRatioPairDetailsRepository
,SpectraRatioPairInversionSampleRepository
,SyntheticRepository
,ValidationMwParametersRepository
,VelocityConfigurationRepository
,WaveformPickRepository
,WaveformRepository
- All Known Implementing Classes:
DetachableJpaRepoImpl
@NoRepositoryBean
public interface DetachableJpaRepository<T,ID extends Serializable>
extends org.springframework.data.jpa.repository.JpaRepository<T,ID>
-
Method Summary
Modifier and TypeMethodDescriptionfindOneDetached
(ID id) Retrieves an entity by its id and detaches it from the EntityManager.Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save
Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush
Methods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAll
Methods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAll
Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAll
Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findOneDetached
Retrieves an entity by its id and detaches it from the EntityManager.- Parameters:
id
- must not be null.- Returns:
- the entity with the given id or null if none found
- Throws:
IllegalArgumentException
- ifid
is null
-