How to join unassociated entities with JPA and Hibernate
| |

How to join unassociated entities with JPA and Hibernate

Representing associations between entities as attributes is one of the most comfortable and popular features of JPA and Hibernate. It makes it very easy to navigate from one entity to one or more associated entities in your Java code, like from a Person entity to the corresponding Address entity. You can also use the association…

How to call custom database functions with JPA and Hibernate
| |

How to call custom database functions with JPA and Hibernate

JPA supports a set of database functions which you can use to perform small operations and transformations within a query. This is often easier and faster than doing it in the Java code. But how do you call functions which are not supported by the JPA standard, like database-specific ones or the custom functions implemented…

Persistence Expert Roundup: What’s coming in 2016

The software development world is constantly changing, and that of course also affects well-known persistence frameworks. I sat down with Oliver Gierke (Spring Data) and Steve Ebersole (Hibernate) to get their opinion on the most important changes in 2015, current challenges and their big topics for this year. I also tried to talk to Lukas Jungmann…