Skip to content

This will compare the code that handle basic CRUD functions in H2 in-memeory db. Spring JDBC ,JPA-Hibernate and Spring Data way of handling are compared

Notifications You must be signed in to change notification settings

jathu1994/Spring-JDBC-vs-JPA-Hibernate-vs-Spring-Data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

This will compare the code that handle basic CRUD functions in H2 in-memeory db. Spring JDBC ,JPA-Hibernate and Spring Data way of handling are compared

import this maven projects

1.Spring JDBC contains only Spring JDBC files
2.spring jdbc vs jpa vs spring data contains all three projects for comparision
Update the maven project
Run
1.Spring JDBC can be run with out any changes
2.spring jdbc vs jpa vs spring data you have to open com.jatharthan.db.databasedemo.
there will be three seperate files to run. please make sure to comment before @SpringBootApplication for other two application than the intended application to avoid any conflict when running the springboot projects.
3.To run SpringJdbcDemoApplication you need to do some changes in the Person.java and Data.sql files. you can refer files in Spring JDBC folder

About

This will compare the code that handle basic CRUD functions in H2 in-memeory db. Spring JDBC ,JPA-Hibernate and Spring Data way of handling are compared

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages