Hi Sanne, I've already grab the code and do some experiments by implementing the proposed API:
https://github.com/jmnarloch/hibernate-orm/tree/java-8-optional https://github.com/jmnarloch/hibernate-orm/tree/java-8-streams Only to find that the build system itself it not yet ready to be moved to Java 8, by that I mean - animal sniffer is not yet capable to generate the Java 8 signatures - ( http://jira.codehaus.org/browse/MANIMALSNIFFER-45) - (that might be a minor thing) - Gradle 2.0 or to be more exact Groovy 2.3.2 has an bug within ( https://jira.codehaus.org/browse/GROOVY-7023 - well that is not exactly a bug that's a feature ;)) that makes the hibernate-enhance-maven-plugin build to fail. This is kind of blocker for now. As you may notice I've made the changes in the core module, which is not exactly the direction you would wish to take due to backward compatibiility with older JVMs. So since this changes affect so much basic API, could you deliberate more how would you expect this to be handled? What would be your approach? I think that the migration to Java 8 is either way unavoidable and will happen at some point in time, If that's ok with you I will create an umbrella JIRA task, that could gather ideas for API changes. Regards, Jakub 2014-08-15 13:02 GMT+02:00 Sanne Grinovero <sa...@hibernate.org>: As in this forum post: > - https://forum.hibernate.org/viewtopic.php?f=1&t=1036010 > and some conversations I catched on the twitter radar, SO and other > posts, lots of people are wondering what our "amazing plans" are > around powerful innovations we could to thanks to Java8. > > I understand we're all quite stretched and I don't think I can take > the lead on this either, but I think we should at least provide > potential contributors with some options to experiment and see where > we can get. > > As soon as we have confluence we could have a page to describe our > constraints and possibly to collect nice ideas. Beyond that, what > about having some kind of sandbox project for an ORM wrapper (and > maybe others) to play with experimental API proposals? > > I would love to be able to suggest some "get prototyping here" plan to > smart proposals like the one in this forum post. > > --Sanne > _______________________________________________ > hibernate-dev mailing list > hibernate-dev@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/hibernate-dev > 2014-08-15 13:02 GMT+02:00 Sanne Grinovero <sa...@hibernate.org>: > As in this forum post: > - https://forum.hibernate.org/viewtopic.php?f=1&t=1036010 > and some conversations I catched on the twitter radar, SO and other > posts, lots of people are wondering what our "amazing plans" are > around powerful innovations we could to thanks to Java8. > > I understand we're all quite stretched and I don't think I can take > the lead on this either, but I think we should at least provide > potential contributors with some options to experiment and see where > we can get. > > As soon as we have confluence we could have a page to describe our > constraints and possibly to collect nice ideas. Beyond that, what > about having some kind of sandbox project for an ORM wrapper (and > maybe others) to play with experimental API proposals? > > I would love to be able to suggest some "get prototyping here" plan to > smart proposals like the one in this forum post. > > --Sanne > _______________________________________________ > hibernate-dev mailing list > hibernate-dev@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/hibernate-dev > _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev