/******************************************************************************* * Copyright (c) 2005, 2014 springside.github.io * * Licensed under the Apache License, Version 2.0 (the "License"); *******************************************************************************/ package com.northglass.repository; import org.springframework.data.repository.PagingAndSortingRepository; import com.northglass.entity.User; public interface UserDao extends PagingAndSortingRepository { User findByLoginName(String loginName); }