All Downloads are FREE. Search and download functionalities are using the official Maven repository.

example.repositories.PetRepository Maven / Gradle / Ivy

package example.repositories;

import java.util.List;
import java.util.Optional;
import java.util.UUID;

import example.domain.NameDTO;
import example.domain.Pet;
import io.micronaut.data.annotation.Join;
import io.micronaut.data.annotation.Repository;
import io.micronaut.data.model.Pageable;
import io.micronaut.data.repository.PageableRepository;

@Repository
public interface PetRepository extends PageableRepository {

    List list(Pageable pageable);

    @Join("owner")
    Optional findByName(String name);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy