Welcome to the Hibernate community newsletter in which we share blog posts, forum, and StackOverflow questions that are especially relevant to our users.
Articles
-
Multitenancy is a very useful enterprise application requirement, and Java EE might add support for it in a future release. Luckily, Hibernate already supports it, and André William Prade Hildinger shows you how you can use the Hibernate schema-based multitenancy support in production.
-
In fact, Hibernate offers many features that are not yet supported in JPA.
-
Anghel Leonard, who is a well-known book author and JSF contributor, wrote three articles:
-
Hibernate Spatial is now bundled as a
hibernate-spatial
module dependency, and if you plan to use it, then you must check how various relational databases support spatial queries. -
Bozhidar Bozhanov wrote a very good article about Spring-managed Hibernate Event Listeners.
-
On our blog, we documented how you can use
null
andnot-null
with@DiscriminatorValue
to accommodate various legacy database inheritance mappings. -
We also documented how you can detect connection leaks with this very useful utility which helped us find all leaks in our test suite.
-
3 Common Hibernate Performance Issues and How to Find Them in Your Log File is a very interesting article on Baeldung.
-
Thorben Janssen shows you how to use a custom database sequence with Hibernate. If you’re using sequences, you should be using the
pooled
ot thepooled-lo
optimizer to boost Hibernate write performance. -
How does persist and merge work in JPA and Hibernate is an article I was planning on writing for a long time because it features the
Redundant-Save Anti-Pattern
as well.