Andrey Belyaev
Synchronization Methods for Many-To-Many Associations
This article will highlight common issues that happen when adding synchronized methods for many-to-many bidirectional associations in JPA entities.
May 4, 2022
Georgii Vlasov
What's new in JPA Buddy 2022.2
A lot has happened over the last three releases of JPA Buddy. In this article, we will take a look at the major improvements and new features.
April 13, 2022
Aleksey Stukalov
JPA Buddy goes Freemium
Up till the 2022.2 version, all JPA Buddy features were free. In September 2021 we announced that a few of them will become available only under the commercial subscription. However, most of the plugin features will remain free. In this article, we would like to share our understanding and the logic of choosing between the free and the paid part.
April 8, 2022
Andrey Belyaev
The Ultimate Guide on Composite IDs in JPA Entities
Previously, we talked about IDs generated in database and applications, discussed the pros and cons of various strategies for generation and implementation details.
March 21, 2022
Andrey Belyaev
The Ultimate Guide on Client-Generated IDs in JPA Entities
In the previous article, we discussed server-generated IDs for JPA entities.
February 16, 2022
Georgii Vlasov
Inheritance vs Composition in JPA
«Don't repeat yourself» or «DRY». Developers try to adhere to this principle during software development.
January 24, 2022
Andrey Belyaev
The ultimate guide on DB-generated IDs in JPA Entities
JDBC and relational databases do not require primary or unique keys for a table.
January 11, 2022
Aleksey Stukalov
The First Annual Recap from JPA Buddy
2021 is almost over. This year JPA Buddy met its first user and grew up into one of the most rated plugins in the IntelliJ IDEA marketplace. In this article we decided to share a short story behind JPA Buddy, its achievements in 2021 and plans for 2022.
December 22, 2021
Andrey Oganesyan
What’s new in JPA Buddy 5
JPA Buddy has learned some new tricks! Let’s take a look at what features were rolled out in the latest major release: reverse engineering, new entity designer capabilities, improved settings, more code generation tools and other useful things.
October 21, 2021
Aleksey Stukalov
Soft Deletion in Hibernate: Things You May Miss
In this article we will take a look into some details that stay uncovered by most of the articles about soft deletion implementation using Hibernate.
August 27, 2021
Andrey Oganesyan
What's New in JPA Buddy — July 2021
JPA Buddy keeps evolving, with new features being rolled out each release. Let’s look at the main features added in the latest couple of releases. Visual tools for SQL files, Flyway callbacks and migrations in Java/Kotlin, clearer view of Liquibase changelog structure and other things!
July 19, 2021
Andrey Oganesyan
Best Practices and Common Pitfalls of Using JPA (Hibernate) with Kotlin
Kotlin is great: it’s more concise and expressive than Java, it allows for safer code and offers seamless interoperability with Java. The latter allows developers to migrate their projects to Kotlin without having to rewrite the entire codebase. Such migrations is one of the reasons why we might have to work with JPA in Kotlin. Picking JPA for a fresh Kotlin application also makes sense, as it is a mature technology familiar to the developers.
June 24, 2021
Andrey Oganesyan
What’s New in JPA Buddy 3.0
JPA Buddy 3.0 is out! Support for Flyway script generation and Kotlin are finally here, along with other improvements and fixes. Let’s take a closer look at what it offers.
April 28, 2021
Andrey Oganesyan
Lombok and JPA: What may go wrong?
Lombok is a great tool that makes your Java code concise and clean. However, there are a few things to consider when using it with JPA. In this article we’ll look at how the misuse of Lombok can hurt the performance of JPA applications or even crash them, and how to avoid that but still gain the benefits of using Lombok.
April 19, 2021
Andrey Oganesyan
Hibernate Naming Strategies: JPA Specification vs Spring Boot Opinionation
Each time we inject a dependency into our project, we sign a contract, which often has lots of hidden things "written in the fine print". In this article we will take a look at something you could miss when signing a tripartite contract between you, Hibernate and Spring Boot. We will talk about the naming strategies.
March 15, 2021
Aleksey Stukalov
JPA goes even easier with its Buddy
So, Hello World... After almost a year of development, the first version of JPA Buddy has finally been released! This is a tool which is supposed to become your faithful coding assistant for projects with JPA and everything related: Hibernate, Spring Data, Liquibase and other mainstream stack.
January 25, 2021