package com.hazelcast.samples.spring.data.migration; import org.springframework.data.hazelcast.repository.HazelcastRepository; /** * Make a Spring {@link org.springframework.data.hazelcast.repository.HazelcastRepository HazelcastRepository} * for Key-Value access to the {@link Verb} data source. * * Extend the operations provided by the repository with a query method. * Spring provides the implementation, no need to code. * * <u><b>MIGRATION PATH</b></u> * <ol> * <li>Add this repository.</li> * </ol> */ public interface VerbKVRepository extends HazelcastRepository<Verb, Integer> { Verb findByEnglish(String s); }