[hibernate-dev] Locking German and French forums

2017-12-20 Thread Vlad Mihalcea
Hi, I'm going to lock the German and French forums since users posts question there from time to time, and the questions remain answered. If someone has anything against it, let me know. Otherwise, we should use the English one until we move to Discourse. Vlad ___

[hibernate-dev] Using Hibernate ORM as automatic JPMS modules

2017-12-20 Thread Gunnar Morling
Hi all, Following to our discussion in Paris, I've created a simple test bed for showing the usage of Hibernate ORM and its dependencies as automatic modules for the Java 9 module system: https://github.com/gunnarmorling/hibernate-orm-on-java9-modules It pretty much works as expected, I coul

Re: [hibernate-dev] CDI integration in Hibernate ORM and the Application scope

2017-12-20 Thread Sanne Grinovero
On 20 December 2017 at 15:08, Yoann Rodiere wrote: >> we need to find a way to have the DI framework >> take in consideration our additional components both in terms of DI >> consumers and providers > > Not sure what you mean by that. Currently the DI framework doesn't know who > uses these compon

Re: [hibernate-dev] CDI integration in Hibernate ORM and the Application scope

2017-12-20 Thread Yoann Rodiere
> we need to find a way to have the DI framework > take in consideration our additional components both in terms of DI > consumers and providers Not sure what you mean by that. Currently the DI framework doesn't know who uses these components, and therefore it's up to us to tell the DI framework w

Re: [hibernate-dev] CDI integration in Hibernate ORM and the Application scope

2017-12-20 Thread Sanne Grinovero
Any dependency injection framework will have some capability to define the graph of dependencies across components, and such graph could be very complex, with details only known to the framework. I don't think we can solve the integration by having "before all others" / "after all others" phases a

[hibernate-dev] Hibernate Validator 6.0.7.Final released

2017-12-20 Thread Guillaume Smet
Hi, We just released Hibernate Validator 6.0.7.Final. It adds a new @ISBN constraint and benefits from our latest performance improvements. It is based on the Bean Validation 2.0.1.Final API, which fixes a small regression (that you shouldn't encounter in a standard usage of Bean Validation). H

[hibernate-dev] CDI integration in Hibernate ORM and the Application scope

2017-12-20 Thread Yoann Rodiere
Hello all, TL;DR: Application-scoped beans cannot be used as part of the @PreDestroy method of ORM-instantiated CDI beans, and it's a bit odd because they can be used as part of the @PostConstruct method. I've been testing the CDI integration in Hibernate ORM for the past few days, trying to inte