40
I Use This!
Moderate Activity

News

Analyzed about 10 hours ago. based on code collected about 11 hours ago.
Posted almost 7 years ago by Vlad Mihalcea
Welcome to the Hibernate community newsletter in which we share blog posts, forum, and StackOverflow questions that are especially relevant to our users. Articles The Okta developer blog ... [More] published an article about using Hibernate with Spring Boot while also securing the application with OAuth 2.0. Hibernate allows you to map the natural business key via the @NaturalId annotation. This article explains how to expose the Hibernate-specific natural identifier API via the Spring Data Repository contract. If you need to map a given entity property to a JSON column, you can use the hibernate-types project as it provides support for both String and binary JSON column types.... [Less]
Posted almost 7 years ago by Vlad Mihalcea
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 it is not a good ... [More] idea to use SQL-reserved keywords for database identifiers like table or column names, if you inherit a legacy schema that’s difficult to change, you will then have to escape the all database identifiers using SQL-reserved words. To achieve this goal, you can either use the JPA @Column annotation or choose an automated globally escaping approach provided by Hibernate. For more details, check out this article. If you want to use Spring Boot with JPA... [Less]
Posted almost 7 years ago by Yoann Rodière
We just published Hibernate Search 5.11.1.Final, the first bugfix release for the stable 5.11 branch, as well as 6.0.0.Alpha2, the second release for the still-in-development 6.0 branch. ... [More] Getting started with Hibernate Search 6 If you want to dive right into the new, shiny Hibernate Search 6, a good starting point is the getting started guide included in the reference documentation. Hibernate Search 6 is still in development and its APIs differ significantly from Search 5. For more information about the current status of this branch, see the page dedicated to Search 6 on hibernate.org. For more information about migration and what we intend to do to help you, see the migration guide. Hibernate... [Less]
Posted almost 7 years ago by Gunnar Morling
When it comes to testing Java EE applications, there’s a wide spectrum of tools and approaches at our disposal. Depending on the specific goals and requirements of a given test, options range from plain unit tests of single classes ... [More] to comprehensive integration tests deployed into a container (e.g. via Arquillian) and driven through tools such as REST Assured. In this post I’d like to discuss one testing approach which represents some kind of a middle ground: launching a local CDI container and a JPA runtime, connected to an in-memory database. That way you can test CDI beans (e.g. containing business logic) in conjunction with the persistence... [Less]
Posted almost 7 years ago by Guillaume Smet
We just released the first maintenance release of Hibernate ORM 5.4. It is designed to be a drop in replacement for ORM 5.4.0. What’s new Bugfixes and documentation ... [More] improvements We fixed several regressions and improved the documentation. Some regressions are specific to 5.4 but some others are also affecting older versions. You can find the full list of changes in this version here (or, for people without a Hibernate Jira account, here). Getting 5.4.1.Final All details are available and up to date on the dedicated page on hibernate.org. What’s next? We will release regular maintenance releases thereafter but the main focus of development is now Hibernate ORM 6. Feedback, issues,... [Less]
Posted almost 7 years ago by Vlad Mihalcea
Welcome to the Hibernate community newsletter in which we share blog posts, forum, and StackOverflow questions that are especially relevant to our users. Articles When fetching parent ... [More] entities along with their child associations, Hibernate applies the root-level pagination in-memory while the SQL query fetches all the data matching the provided filtering criteria. When paginating entity results in-memory, Hibernate issues the following warning message in the application log: HHH000104: firstResult/maxResults specified with collection fetch; applying in memory! However, if the number of parent and child records is large, it’s much more efficient to apply SQL-level pagination. This article explains how to limit the number of parent entities that are... [Less]
Posted almost 7 years ago by Vlad Mihalcea
Welcome to the Hibernate community newsletter in which we share blog posts, forum, and StackOverflow questions that are especially relevant to our users. Articles For our Korean readers ... [More] , this article shows how you can speed up transaction response time by setting the hibernate.connection.provider_disables_autocommit property when the underlying connection pool already disabled the auto-commit mode at the JDBC Connection level. For more details about the hibernate.connection.provider_disables_autocommit Hibernate property, check out this article as well. For our Russian readers, this article explains how to write database integration tests when using Hibernate and Spring Boot. PostgreSQL offers a great variety of database column types like inet, hstore... [Less]
Posted almost 7 years ago by Guillaume Smet
We just released Hibernate Validator 6.0.14.Final which comes with a critical bugfix. This is a recommended upgrade for everyone using Hibernate Validator and it is a drop-in replacement for 6.0.13.Final. ... [More] What’s new We fixed one critical issue: HV-1684. If you have a constraint on a Map like this: @Size(min=1) Map [Less]
Posted about 7 years ago by Yoann Rodière
We just published 5.11.0.Final, the first stable release for the 5.11 branch. This release mainly includes an upgrade to Hibernate ORM 5.4.0.Final. What’s new? If ... [More] you tried out the CR1, know that this release only adds an upgrade to Hibernate ORM 5.4.0.Final (from 5.4.0.CR2). Here are some notable changes since Hibernate Search 5.10.5.Final: HSEARCH-3433: Hibernate Search’s ORM integration now depends on Hibernate ORM 5.4.0.Final. HSEARCH-3420: Hibernate Search is now systematically built and tested against JDK11, meaning it will work out-of-the box on JDK11. HSEARCH-3364: The WildFly feature packs now target WildFly 14. For a full list of changes since 5.10.5.Final, please see this list of tickets on our JIRA instance. How to get this release All... [Less]
Posted about 7 years ago by Vlad Mihalcea
Welcome to the Hibernate community newsletter in which we share blog posts, forum, and StackOverflow questions that are especially relevant to our users. Presentations The Voxxed Days Cluj ... [More] 2018 Hibernate Performance Tips has been uploaded. If you need to tune your data access layer, you should definitely watch this presentation. Articles If you’re using Spring Data JPA, this article on Ippon tech blog shows you how to boost the performance of your data access layer. Hibernate is a very customizable framework, and its event/listener mechanism makes it possible for Envers to integrate with the Hibernate ORM core. This article explains how the Hibernate ORM /listener mechanism works,... [Less]