Welcome to the Hibernate community newsletter in which we share blog posts, forum, and StackOverflow questions that are especially relevant to our users.
Articles
While unit testing is great for testing classes that have a certain logic that’s well encapsulated, testing data access logic code requires integration testing because you want to see how queries are executed on the same database server type you are also using in production. Emmanouil Gkatziouras wrote an article about running Integration Tests using Maven so you should definitely check it out if you are planning on starting a new project or the current project does not use any Integration Testing.
For our Japanese readers, Shin Watanabe wrote an article about using the Hibernate-specific ResultTransformer
when building the ResultSet
of a projection query.
Simon Martinelli wrote two article about JPA which are definitely a good read:
Eugen Parachiv also wrote a series of article about Hibernate:
I also wrote three articles about JPA and Hibernate:
Time to upgrade
Hibernate Validator 6.0.7.Final has been released.
If you want to give it a try, feedback is highly appreciated.
Questions and answers
-
Why do I need Transaction in Hibernate for read-only operation?
-
How to ensure java clients continue “working” in case whole Hazelcast cluster is down
-
HQL error: with-clause referenced two different from-clause elements
-
Can I share a one-to-one entity using
@MapsId
for multiple parents using JPA -
How to model a one-to-one relationship in JPA when the “parent” table has a composite PK?
-
How to handle
ObjectOptimisticLockException
properly for multiple simultaneous transaction requests?