Spring Data JPA to Spring Data JDBC – a smooth ride?
Many developers complain that JPA is slow, and they are eager to replace it with something "simpler," "lightweight," and "manageable." Recently Spring team published a new framework - Spring Data JDBC, which is very similar to Spring Data JPA in terms of API but uses JDBC directly. In this article, we will try to replace Spring Data JPA and see what affects the code apart from API changes due to the new framework.
October 17, 2022
What's new in JPA Buddy 2022.4
Hibernate 6, better usability, significant enhancements for DTOs, and more in the new major JPA Buddy release.
September 7, 2022
Spring Data JPA Interview Questions and Answers
Spring Data JPA is one of the most popular starters used in Spring-based applications. In this article, we will take a look at the most popular Spring Data JPA interview questions. Also, we'll discuss underlying technologies – JPA and Hibernate. First, there will be some basic questions on general knowledge, and then we'll review advanced topics.
August 10, 2022
New Price for JPA Buddy
From September 1st, 2022, we plan to increase the price. We're still standing on the affordable pricing offering, so it should not hit your wallet. At the same time it will be a great help for us. The difference will be invested back and allow us to keep a small dedicated team working full time on making JPA Buddy better daily!
August 4, 2022
How to store text in PostgreSQL: tips, tricks, and traps
DDL generation based on JPA entities definition is a daily task for many developers. In most cases, we use tools like Hibernate's built-in generator or JPA Buddy plugin. They make the job easier, but there are exceptions. When it comes to storing big chunks of data in the database, things get a bit complicated.
July 4, 2022
What's new in JPA Buddy 2022.3
JPA Buddy 2022.3.0 is out! In this release, we introduce completely new features like "Generate DDL by Entities" and "Extract to MappedSupperclass" action and many improvements: Reverse Engineering, IBM Db2 support, and others. Let's have a look at the most noticeable changes in detail.
June 23, 2022
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
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
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
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
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
Inheritance vs Composition in JPA
«Don't repeat yourself» or «DRY». Developers try to adhere to this principle during software development.
January 24, 2022
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
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
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
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
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
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
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
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
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
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