Join the chat on YouTube. Contents1 Utility classes that make your life easier2 Live Online Workshops3 Question of the Week4 This week’s tutorials4.1 Blog4.2 YouTube Utility classes that make your life easier Implementing a persistence layer with Hibernate can require a lot of String references: You’re referencing entities and their attributes by their name. Query

Read More

Optimizing the performance of your application is a complex and application-specific task. All domain models are different, and often enough, the amount of data managed by them also differs significantly between multiple installations. In addition to that, almost all performance tuning techniques have trade-offs, which don’t make them a great fit for all situations. Because

Read More

Join the chat on YouTube. Contents1 Enums, Enums, Enums …2 Live Online Workshops3 Question of the Week4 This week’s tutorials4.1 Blog4.2 YouTube Enums, Enums, Enums … Enums are the perfect data type, if an attribute can only have one out of a set of predefined values. A typical example is the rating of a product,

Read More

Since microservices have become popular, teams are trying to split their monolithic application into a set of small, independent, and highly-scalable microservices. In theory, that often seems like an easy task. You only need to follow the key principles of domain-driven design, identify the bounded contexts in your application, and extract each of them as

Read More

Join the chat on YouTube. Contents1 JPQL vs. Criteria vs. Native Queries2 Live Online Workshops3 Question of the Week4 This week’s tutorials4.1 Blog4.2 YouTube JPQL vs. Criteria vs. Native Queries With JPQL and native SQL queries, Hibernate supports 2 query languages that you can use to search data in your database. In addition to that,

Read More

Hibernate needs to ensure that all tables referenced in a query are up to date before executing the query. That means it has to flush all pending changes for these tables before it runs the query. Otherwise, the database would process the query on an outdated data set and return wrong results. Hibernate not only

Read More

Join the chat on YouTube. Contents1 Auditing with Hibernate Envers2 Live Online Workshops3 Question of the Week4 This week’s tutorials4.1 Blog4.2 YouTube Auditing with Hibernate Envers In today’s stream, we will talk about another often requested topic: Writing and managing an audit log with Hibernate Envers. I will show you how to set up Hibernate

Read More

To connect your persistence layer to your database, you need to configure a data source or provide the JDBC connection driver, URL, and login information to Hibernate directly. In addition to that, Hibernate needs to know the database-specific dialect it shall use to generate the SQL statements. Hibernate can detect the dialect based on the

Read More