ここのガイドに従って、サイトにリポジトリをセットアップしています: http://static.springsource.org/spring-data/data-jpa/docs/1.0.0.M1/reference/html/#repositories.introduction
なぜセクション1.4.1で突然拡張するのか、少し混乱していJpaRepository
ます...これはJPAクラスですか、それとも彼らが書いたものですか? 私は自分のアプリケーションで同じことをしようとしましたが、うまくいきませんでした。ロードされているにもかかわらず、JpaRepository が何であるかを知りませんでした。
public interface UserRepository extends JpaRepository<User, Long>, UserRepositoryCustom {
// Declare query methods here
}