Hibernate Types of Joins

In Hibernate, when people ask “types of joins” in an interview, they usually mean the joins used in HQL/JPQL . Remember, the SQL database…

Author Avatar
Learn Here Fun Pedia 5 min read

Latest Articles

Author Avatar
Learn Here Fun Pedia

Cascade Mapping

Cascading is one of the most misunderstood concepts in Hibernate/JPA. Before learning orphanRemoval , Actio…

Code on Screen
Author Avatar
Learn Here Fun Pedia

Flush in Hibernate

flush() Now for the main topic. When you call entityManager.flush(); , it means: Synchronize the current …

Code on Screen
Author Avatar
Learn Here Fun Pedia

JPQL vs HQL vs Native SQL

1. JPQL Now let's move to queries. JPQL stands for Java Persistence Query Language. It operates on En…

Code on Screen
Author Avatar
Learn Here Fun Pedia

Sorting in JPQL

Sorting in JPQL Sorting results in JPQL is straightforward and works very similarly to standard SQL, usin…

Code on Screen
Author Avatar
Learn Here Fun Pedia

Pagination

Pagination Pagination means: Don't retrieve thousands or millions of records at once. Retrieve a limi…

Code on Screen