SessionRepository.java 240 Bytes
package etunicorn;

import org.springframework.data.repository.CrudRepository;

/**
 * Created by geoffrey on 04/02/17.
 */
public interface SessionRepository extends CrudRepository<Session, Long> {
    Session findByToken(String token);
}