5 Things You Need to Know When Using Hibernate with Mysql
|

5 Things You Need to Know When Using Hibernate with Mysql

One of the benefits of using JPA and Hibernate is that it provides an abstraction of database-specific dialects and features. So, in theory, you can implement an application, connect it to one of the supported databases and it will run without any code changes. Hibernate does that really well. But let’s be honest, you didn’t…

Hibernate with PostgreSQL – 6 things you need to know
| |

Hibernate with PostgreSQL – 6 things you need to know

PostgreSQL is one of the most popular relational databases, and Hibernate is probably the most popular JPA implementation. So, it’s no surprise that they’re often used together and that you don’t have to expect any major issues doing that. But as so often, there is a difference between “it works” and “it works great”. Out…

Map Associations with JPA and Hibernate – The Ultimate Guide
| |

Map Associations with JPA and Hibernate – The Ultimate Guide

Association mappings are one of the key features of JPA and Hibernate. They model the relationship between two database tables as attributes in your domain model. That allows you to easily navigate the associations in your domain model and JPQL or Criteria queries. JPA and Hibernate support the same associations as you know from your…