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

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:Java 100.0%