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. Follow him on LinkedIn or Twitter or Facebook

Hibernate – many-to-many unidirectional association

In a relational database in a many-to-many relationship, a row in table X can have  more than one matching row in table Y, a...

one-to-many bidirectional association

In a relational database in a one-to-many relationship, a row in table X can have  more than one matching row in table Y. In Object...

Hibernate – one-to-many unidirectional association

In a relational database in a one-to-many relationship, a row in table X can have  more than one matching row in table Y. In Object...

one-to-one bidirectional association

In a relational database in a one-to-one relationship, a row in table X can have no more than one matching row in table Y,...

Hibernate – One-to-One unidirectional association

In a relational database in a one-to-one relationship, a row in table X can have no more than one matching row in table Y,...

Key Points to understand Associations in JPA and Hibernate

Entity Role.Cascade.Fetch Type.Direction.mappedBy Attribute.Join Column.Join Tables.Inverse Join Column. 1. Entity Role : In every association there are two entities that are related to one another, each entity play a...

Save image – working with large objects (@LOB) in JPA with Hibernate

In this article you will see how to save image in database and how to work with LOB (Large objects), CLOB (Character large objects)...

@Transient annotation in Jpa or Hibernate – ignore persistent fields

In this tutorial we are going to learn about @Transient annotation using in JPA with Hibernate application to ignore fields. 1. What is the...

JPA + Mysql + Maven example setup in eclipse

Project Structure : Import downloaded project into eclipse. If you are new to maven follow Import existing maven project into eclipse.Imported project structure looks like below...

How to import maven project into eclipse

A step by step Guide on How to import an existing maven project into eclipse. Note: There are different types of maven projects to import...

Stay in Touch