Leave a Reply

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

Notify of
avatar

Justin Lange
Guest
Justin Lange
30 days 15 minutes ago

Is the saved data persistent? If I kill the server and start it again, will the data be still in my "database"?

Антон Куликов
Guest
Антон Куликов
1 month 26 days ago

now it wont work if u didnt annotate ur interface which extends CrudRepo with @Repository

SaleMikael
Guest
SaleMikael
2 months 19 days 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
4 months 5 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
4 months 5 days ago

revert to version 1.4.7 and it will work.

priyam gupta
Guest
priyam gupta
4 months 11 days ago

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

Omkar Kulkarni
Guest
Omkar Kulkarni
4 months 24 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
6 months 3 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
6 months 12 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
6 months 13 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
7 months 1 day ago

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

wpDiscuz