Re: [hibernate-dev] ORM DDL doesn't reflect BV constraints with validation mode CALLBACK

2018-02-10 Thread Steve Ebersole
Yes, I agree. On Sat, Feb 10, 2018, 7:55 AM Gunnar Morling wrote: > 2018-02-09 16:26 GMT+01:00 Steve Ebersole : > >> I think constraints should be exported to the DDL when the mode is DDL or >> `hibernate.validator.apply_to_ddl == true`. I'd personally say that ` >> hibernate.validator.apply_to

Re: [hibernate-dev] Could we have a Hibernate 5.3 compatibility layer that includes the ORM 5.1 Hibernate Session class

2018-02-10 Thread Sanne Grinovero
On 10 February 2018 at 13:32, Scott Marlow wrote: > Hi Sanne, > > Good question about what is public API exactly. In WF modules, we have a > way to mark the entire module as private. That doesn't help here, and that > would only be a "how" not answering "what extensions". > > Having said that, i

Re: [hibernate-dev] ORM DDL doesn't reflect BV constraints with validation mode CALLBACK

2018-02-10 Thread Gunnar Morling
2018-02-09 16:26 GMT+01:00 Steve Ebersole : > I think constraints should be exported to the DDL when the mode is DDL or > `hibernate.validator.apply_to_ddl == true`. I'd personally say that ` > hibernate.validator.apply_to_ddl` still works with NONE - as y'all keep > saying, mode is about in-memo

Re: [hibernate-dev] Could we have a Hibernate 5.3 compatibility layer that includes the ORM 5.1 Hibernate Session class

2018-02-10 Thread Scott Marlow
Hi Sanne, Good question about what is public API exactly. In WF modules, we have a way to mark the entire module as private. That doesn't help here, and that would only be a "how" not answering "what extensions". Having said that, it would be interesting to know the "how" as well. Perhaps docum