Interface SystemComponentDatabaseSchemaRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<ch.admin.bit.jeap.archrepo.metamodel.database.SystemComponentDatabaseSchema,UUID>, org.springframework.data.jpa.repository.JpaRepository<ch.admin.bit.jeap.archrepo.metamodel.database.SystemComponentDatabaseSchema,UUID>, org.springframework.data.repository.ListCrudRepository<ch.admin.bit.jeap.archrepo.metamodel.database.SystemComponentDatabaseSchema,UUID>, org.springframework.data.repository.ListPagingAndSortingRepository<ch.admin.bit.jeap.archrepo.metamodel.database.SystemComponentDatabaseSchema,UUID>, org.springframework.data.repository.PagingAndSortingRepository<ch.admin.bit.jeap.archrepo.metamodel.database.SystemComponentDatabaseSchema,UUID>, org.springframework.data.repository.query.QueryByExampleExecutor<ch.admin.bit.jeap.archrepo.metamodel.database.SystemComponentDatabaseSchema>, org.springframework.data.repository.Repository<ch.admin.bit.jeap.archrepo.metamodel.database.SystemComponentDatabaseSchema,UUID>

@Repository public interface SystemComponentDatabaseSchemaRepository extends org.springframework.data.jpa.repository.JpaRepository<ch.admin.bit.jeap.archrepo.metamodel.database.SystemComponentDatabaseSchema,UUID>
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional<ch.admin.bit.jeap.archrepo.metamodel.database.SystemComponentDatabaseSchema>
    findBySystemComponent(ch.admin.bit.jeap.archrepo.metamodel.system.SystemComponent systemComponent)
     
     

    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

    • findBySystemComponent

      Optional<ch.admin.bit.jeap.archrepo.metamodel.database.SystemComponentDatabaseSchema> findBySystemComponent(ch.admin.bit.jeap.archrepo.metamodel.system.SystemComponent systemComponent)
    • getDatabaseSchemaVersions

      @Query("select s.system.name as system, s.systemComponent.name as component, s.schemaVersion as version from SystemComponentDatabaseSchema s") List<DatabaseSchemaVersion> getDatabaseSchemaVersions()