Welcome to the Hibernate community newsletter in which we share blog posts, forum, and StackOverflow questions that are especially relevant to our users.
Articles
Sebastian Daschner describes how you can customize the database schema creation using the JPA standard configuration properties.
If you want to test a certain JDBC, JPA, Hibernate or even jOOQ feature, you don’t have to go through all the trouble of setting up a project, figure out how to manage the database schema, bootstrap the data access logic or manage database resources like connections and transactions. There’s a better way!
Just fork the high-performance-java-persistence GitHub repository and get started right away. It’s an open-source project, and it gets better and better with every new commit. For more details, check out this article which features a nice video presentation as well.
JPA 2.2 brings some improvements to the standard specification, and if you are curious about the new additions, check out this article on InfoQ.
If you’re using Spring Data JPA and want to use multiple databases, you should definitely read this article on Baeldung.
While at it, Martin Farrell shows you how to
access the JPA EntityManager
when using Spring Data JPA.
And, Emmanouil Gkatziouras shows you how you can
run @NamedQueries
using Spring Data JPA.
Time to upgrade
For the Hibernate projects, there were three releases being done since the previous newsletter:
If you are still wondering what should be the right size for a given database connection pool, you should start checking out the FlexyPool open-source project which has reached its 2.0 version and supports Dropwizard Metrics 4.