Spring Boot
JPAのサンプルを作成していたら少し嵌ったので、書き起こす。 バージョン情報 Spring Boot 2.0.1 エラー箇所 public Optional<Student> findOne(Long id){ return studentRepository.findOne(id); } findOne(E)でダメらしい。 エラーメッセージ Inferred type 'S' for</student>…
JPAのサンプルを作成していたら少し嵌ったので、書き起こす。 バージョン情報 Spring Boot 2.0.1 エラー箇所 public Optional<Student> findOne(Long id){ return studentRepository.findOne(id); } findOne(E)でダメらしい。 エラーメッセージ Inferred type 'S' for</student>…