Welcome to the Hibernate community newsletter in which we share blog posts, forum, and StackOverflow questions that are especially relevant to our users.
Articles
A very good resource especially for beginners, this article shows you how JPA and Hibernate simplify data persistence.
When using JPA and Hibernate, it is very important to log the statements that are auto-generated on your behalf. If you are using Spring Boot, check out this article for more details about enabling SQL statement logging.
A very good addition to the PostgreSQL JDBC Driver, the reWriteBatchedInserts
configuration property allows you to optimize the processing of batched statements on the
database side. For more details, check out this article.
If you want to use Hibernate with SAP HANA on Google Cloud Platform, then this tutorial provides a very good introduction about how you can build translytical applications.
If you’re using PostgreSQL with JPA and Hibernate, these 9 High-Performance Tips will surely help you speed up your data access layer.
If you want to use Spring Boot to build an application that uses Hibernate to persist data into Oracle this tutorial will provide a step-by-step guide for how to achieve this goal.
Most often, a JPA is mapped to a one database table. Nevertheless, you can also map multiple entities to the same database table or an entity to multiple tables.
Questions and answers
-
Hibernate throws “Cannot do an operation on a closed statement” on MariaDB
-
How to close & open a new Hibernate Session in case of Exception
-
First-level cache and concurrency control when using JPA and Hibernate
-
What is difference between hibernate.jdbc.fetch_size and hibernate.jdbc.batch_size?
-
Persist dynamically typed entity properties with Hibernate and PostgreSQL
-
Retained MutableEntityEntry leak in entity context causes application to freeze