simplyrestful.springdata.repository.SpringDataRepository Maven / Gradle / Ivy
package simplyrestful.springdata.repository;
import java.util.Optional;
import java.util.UUID;
import javax.inject.Named;
import org.springframework.data.repository.PagingAndSortingRepository;
/**
* A Spring Data Repository to access the data store.
*
* The entity that is persisted must have a UUID field in order to identify each entity.
*
* @param is the entity used to persist data (which contains a UUID field)
* @deprecated Direct mapping of API resources to database entities is not useful enough to maintain
* this convenience library. Use the standard SimplyRESTful library (without automated mapping) instead.
*/
@Deprecated
@Named
public interface SpringDataRepository extends PagingAndSortingRepository{
Optional findByUuid(UUID uuid);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy