Package org.appng.core.repository
Interface DatabaseConnectionRepository
-
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<DatabaseConnection,Integer>
,org.springframework.data.jpa.repository.JpaRepository<DatabaseConnection,Integer>
,org.springframework.data.jpa.repository.JpaSpecificationExecutor<DatabaseConnection>
,org.springframework.data.repository.PagingAndSortingRepository<DatabaseConnection,Integer>
,org.springframework.data.repository.query.QueryByExampleExecutor<DatabaseConnection>
,org.springframework.data.repository.Repository<DatabaseConnection,Integer>
,SearchRepository<DatabaseConnection,Integer>
public interface DatabaseConnectionRepository extends SearchRepository<DatabaseConnection,Integer>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<DatabaseConnection>
findBySiteId(Integer id)
DatabaseConnection
findBySiteIsNullAndType(DatabaseConnection.DatabaseType databaseType)
-
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, findAll, findAll, findAllById, flush, getById, getReferenceById, saveAll, saveAllAndFlush, saveAndFlush
-
Methods inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
count, exists, findAll, findAll, findAll, findOne
-
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
-
Methods inherited from interface org.appng.persistence.repository.SearchRepository
createSearchQuery, detach, getHistory, getOne, getRevision, getRevisionNumber, isUnique, isUnique, search, search, search, search
-
-
-
-
Method Detail
-
findBySiteIsNullAndType
DatabaseConnection findBySiteIsNullAndType(DatabaseConnection.DatabaseType databaseType)
-
findBySiteId
@Query("from DatabaseConnection d where d.site.id = ?1") List<DatabaseConnection> findBySiteId(Integer id)
-
-