Leave a Reply

14 Comments on "Spring Boot Quick Start 28 – Creating a Spring Data JPA Repository"

Notify of
avatar

SaleMikael
Guest
SaleMikael
22 days 8 hours ago

Hey,The tutorial is awesome! i have one question. i'm not able to import org.springFramework.data.repository.CrudRepository. i tried maven force updating the project after emptying .m2 folder. but still the same. is zer any other way to do this? thanks in advance!

Hugh O'Brien
Guest
Hugh O'Brien
2 months 7 days ago

You can not import the necessary libraries for CrudRepository after Spring Boot version 1.5.4.

Hugh O'Brien
Guest
Hugh O'Brien
2 months 7 days ago

revert to version 1.4.7 and it will work.

priyam gupta
Guest
priyam gupta
2 months 14 days ago

You did not make any video on connection of actual database with Spring Boot

Omkar Kulkarni
Guest
Omkar Kulkarni
2 months 27 days ago

did you forget to add @Repository annotation to the repository? If its not there, the repository wont be picked up by the compiler at runtime.

Vijay Anand Mehta
Guest
Vijay Anand Mehta
4 months 6 days ago

may be a silly question but….the annotation you are using are provide by whom…Spring MVC?Please do replythank you

Neeraj Kashyap
Guest
Neeraj Kashyap
4 months 14 days ago

What if I am having composite ID in an Entity, and also many different type of entities to be persisted. Do I need to create that many number of interfaces ?

Mac New
Guest
Mac New
4 months 15 days ago

Field topicRepository in io.javabrains.springbootquickstart.topic.TopicService required a bean of type 'io.javabrains.springbootquickstart.topic.TopicRepository' that could not be found. problem

Saurav Raj
Guest
Saurav Raj
5 months 4 days ago

very well explained. Good effort.Appreciated.Thanks !!

G. VAIBHAV REDDY
Guest
G. VAIBHAV REDDY
5 months 19 days ago

Here's the dependency we need to add to pom.xml if you are not seeing this import "javax.persistence.Entity"<!– mvnrepository.com/artifact/org.springframework.data/spring-data-jpa –> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-jpa</artifactId> </dependency>

Skullid13
Guest
Skullid13
6 months 18 days ago

Thank you Rajesh, great video

wpDiscuz