Hibernate 5 with Java 8

This is going to be a fallow up to the very first posts in which I introduced the small Hibernate wrapper.

This time I have released it’s updated version that compiles against just released Hibernate 5:

https://github.com/jmnarloch/hstreams/tree/hstreams-5

The changes has been rather cosmetic, although the Hibernate 5 brings one major change, it natively supports Java 8 types (mostly JSR-310 date time API – like LocalDate, LocalTime etc.) on the entity mapping level, so you no longer need extensions like Jadira in order to facilitate them.

The wrapper itself will add the syntatic sugar for Java 8 lambda like queries, so you will be able to fully laverage all of Java 8 features.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s