Package org.qubership.atp.tdm.repo
Interface ColumnRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<TestDataTableColumn,,TestDataTableColumnIdentity> org.springframework.data.jpa.repository.JpaRepository<TestDataTableColumn,,TestDataTableColumnIdentity> org.springframework.data.repository.PagingAndSortingRepository<TestDataTableColumn,,TestDataTableColumnIdentity> org.springframework.data.repository.query.QueryByExampleExecutor<TestDataTableColumn>,org.springframework.data.repository.Repository<TestDataTableColumn,TestDataTableColumnIdentity>
@Repository
public interface ColumnRepository
extends org.springframework.data.jpa.repository.JpaRepository<TestDataTableColumn,TestDataTableColumnIdentity>
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteByIdentity_TableName(String tableName) findAllByIdentityTableName(String tableName) findAllByIdentityTableNameAndIdentityColumnNameIn(String tableName, List<String> names) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, saveMethods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getById, getOne, getReferenceById, saveAll, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findAllByIdentityTableNameAndIdentityColumnNameIn
-
findAllByIdentityTableName
-
findDistinctByIdentityTableName
@Query(value="SELECT distinct on (table_name) * FROM test_data_table_column", nativeQuery=true) List<TestDataTableColumn> findDistinctByIdentityTableName() -
deleteByIdentity_TableName
-