Hibernate ORM 5.2.10 Final is just released with many new features and improvements. In generate what are the new features which is added to the Hibernate 5 and how to use these features in making applications?
In Hibernate 5 many news features and improvements are present. Developers using Hibernate Framework should know all these features of Hibernate 5. Let's see the new features and changes made in Hibernate 5.
Hibernate search come with great features in Hibernate 5. It automatically indexes the objects and offers full-text search along with fast search. It also comes with the clustering features and using Hibernate Search features is very easy now.
Hibernate validator comes with re ready to use validation functions like Email, Length, Not blank etc..
Hibernate 5 fully supports Java 8 features and you can use the features of Java 8 in your Hibernate 5 applications. It support Java 8 date/time types in Hibernate 5 based applications. It supports:
TIME: java.time.LocalTime, java.time.OffsetTime
TIMESTAMP: java.time.Instant, java.time.LocalDateTime, java.time.OffsetDateTime and java.time.ZonedDateTime
Hibernate 5 supports OGM and through this you can use Hibernate to persist data into NoSQL databases.
Hibernate 5 comes with new Bootstrap API which improves performance and helps in better integration.
You can use the Hibernate 5 without persistence.xml through new bootstrap API. Hibernate JPA environment can be configured programmatically in runtime.
The ad-hoc joins feature is added in Hibernate 5.1 release.
This feature is also added in Hibernate 5.1.
Following new features are added in Hibernate 5.2:
So, Hibernate 5.x comes with many new features and developers should start using it in their project. Check more at Hibernate 5 Features page.
Posted on: June 13, 2017 If you enjoyed this post then why not add us on Google+? Add us to your Circles