Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Question: How can you connect Spring Boot to the database using JPA?
Answer: Spring Boot supports spring-boot-starter-data-jpa, which helps you to connect spring application with a relational database.
<dependency>    
    <groupId>org.springframework.boot</groupId>    
    <artifactId>spring-boot-starter-data-jpa</artifactId>    
    <version>2.2.2.RELEASE</version>    
</dependency>  
Is it helpful? Yes No

Most helpful rated by users:

©2025 WithoutBook