java - minimum hibernate version compatible with java8 -


i have terrible time trying find out minimum version of hibernate supports being run on java8 jre, user code use java8 features.

i found this bug, talks making use of java8 features in hibernate, it's planned hibernate 5.2 , sure hibernate 4.3.1 supports java8, since wildfly ships , claims support java8.

i've tried find in hibernate bug tracker bugs related java8, again "too new".

finally i've searched in hibernate release notes .0 versions, , again without success: seems release notes describe changes since previous rc or beta release... tried tracking rc , beta releases 4.3.0.final , 4.2.0.final failed finding such mention.

we using hibernate 4.2.12.final , wonder whether start using java8 or whether need upgrade newer version of hibernate (4.3.x presumably).

for context, using tomee application server. 1.7.0 released support java8. in case must upgrade hibernate 4.3.x, i'm bit afraid can't use hibernate 4.3.x tomee i've seen this: "however, hibernate 4.3+ (jpa 2.1) not supported tomee, because it's java ee 7.". we'd rather stick 4.2.x bit longer if possible.

edit: found this, says "we use hibernate (and 4.3.x supports java 8)". 4.3.x needed.

it depends on mean "user code use java8 features". @ place of employment, still use ancient version of hibernate 3 , java 8 , works fine. however, none of our entities use java 8 features, code uses our entities do.

i think problem hibernate , java 8 related knowing how map entities use lambdas or default methods , new optional class , time packages.

if don't need map those, should fine.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -