Interface PixRepository

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

public interface PixRepository extends org.springframework.data.jpa.repository.JpaRepository<PixModel,Long>
Repository interface for PixModel entities. Provides methods for accessing Pix key data in the database.
Since:
1.0.0
Version:
1.0.0, 06/26/2025
Author:
Fernando Cruz Cavina
  • Method Summary

    Modifier and Type
    Method
    Description
    Finds a Pix key by its value.

    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

    • findByKey

      Optional<PixModel> findByKey(String key)
      Finds a Pix key by its value.
      Parameters:
      key - the Pix key
      Returns:
      an Optional containing the found PixModel, or empty if not found