Hibernate 7 brings a bunch of changes. Jakarta Persistence 3.2 standardized several features and Hibernate ORM got an entirely new component to parse the domain model. The team also removed some deprecated annotation.
So, the obvious questions are:
- What's actually in it for us normal application developers?
- Which new features and changes will make our work easier?
- And how much work will the update require?
We will take a closer look at the most interesting ones during this talk.
The example projects require a database. GitHub Codespace or an IDE supporting Development Containers start up the database automatically. Or you can download and start the Docker configuration manually.
The easiest way to work with the example projects is to use a free GitHub Codespace or the Development Containers of your IDE (supported by VSCode and IntelliJ). Both automatically start up the required database in a Docker container.
I’m using a PostgreSQL database in all code samples and exercises of this course. I’ve prepared a docker-compose configuration that starts the database on localhost:5432 and a pgAdmin on localhost:80.
To run the docker-compose command, please make sure that docker is installed on your machine and open a command line in the project root folder. You can then start the environment by executing the following commands:
- docker-compose build
- docker-compose up
After you start the docker-compose configuration, you can access your database at localhost:5432 using the user postgres and the password postgres.