Satish Varma

Satish is post graduated in master of computer applications and experienced software engineer with focus on Spring, JPA, REST, TDD and web development. Also founder of javabydeveloper.com. Follow him on LinkedIn or Twitter or Facebook

Field Access vs Property Access in JPA and Hibernate

The JPA Specification allows access the properties of a class either directly through fields or indirectly through getter and setter methods.JPA introduced standard annotation to...

Remove an Entity from Database using JPA with Hibernate

Remove an Entity : In order to remove an entity, the entity itself must be managed, it means that it...

Updating an Entity to the Database using JPA with Hibernate

Updating an Entity : Once an entity in the database, Student student = entintyManager.find(Student.class, 1L); this line will retrieve student entity where...

Retrieving or finding an Entity using JPA

Retrieving or Finding an Entity Once an entity in the database, Student student = entintyManager.find(Student.class, 1L); this line will retrieve student...

JPA Entity lifecycle – JPA developer should know

Entity Instance states JPA defines four states and state transitions for the persistence life cycle.Following image illustrates these states...

How to persist an Entity in Database using JPA?

Table Structure in Database Technologies Used in example : JPA 2.1Hibernate 5.2.6MySql 8.0Maven 3Spring Tool Suite...

JPA Architecture and java persistence with example

1. JPA Architecture : 1.1. Entity An entity is a persistence domain object. Each Entity represents...

What is JPA and Java Persistence API implementation?

What is JPA (Java persistence API)? : JPA (Java persistence API) is not a tool or not a framework, JPA is...

JUnit 5 Tutorial

JUnit 5 is a simple opensource next generation of JUnit for Java 8 and greater versions. In...

Stay in Touch