Interface JpaAttributeTypeRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<AttributeTypeEntity,Long>, org.springframework.data.jpa.repository.JpaRepository<AttributeTypeEntity,Long>, org.springframework.data.repository.PagingAndSortingRepository<AttributeTypeEntity,Long>, org.springframework.data.repository.query.QueryByExampleExecutor<AttributeTypeEntity>, org.springframework.data.repository.Repository<AttributeTypeEntity,Long>

@Repository public interface JpaAttributeTypeRepository extends org.springframework.data.jpa.repository.JpaRepository<AttributeTypeEntity,Long>
  • Method Summary

    Modifier and Type
    Method
    Description
    findByAttributeId(UUID attributeId)
     

    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, getOne, getReferenceById, saveAll, saveAllAndFlush, saveAndFlush

    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

    • findByAttributeId

      @Query(value="select * from attribute_type t1 where t1.id = (select t2.attribute_type_id from public.attribute t2 where t2.id = ?1)", nativeQuery=true) AttributeTypeEntity findByAttributeId(UUID attributeId)