Re: [hibernate-dev] inSession / inTransaction

2018-12-20 Thread Steve Ebersole
On Thu, Dec 20, 2018 at 1:33 PM Gunnar Morling wrote: > Hey, > > When discussing this before, there were some doubts about its actual > usefulness in non-testing, real-world code. E.g. you'd typically > interact with multiple DAOs/repositories etc. and would have to > somehow pass the session to

Re: [hibernate-dev] inSession / inTransaction

2018-12-20 Thread Gunnar Morling
Hey, When discussing this before, there were some doubts about its actual usefulness in non-testing, real-world code. E.g. you'd typically interact with multiple DAOs/repositories etc. and would have to somehow pass the session to each of them. One other thought is that inTransaction() should all

[hibernate-dev] inSession / inTransaction

2018-12-20 Thread Steve Ebersole
In tests we find our `#inSession` and `#inTransaction` methods very useful. Which got me thinking that maybe we should support these on SessionFactory directly: public interface SessionFactory ... { ... void inSession(Consumer action); void inTransaction(Consumer action); void inT

[hibernate-dev] Hibernate Search 5.11.0.Final released

2018-12-20 Thread Yoann Rodiere
Hello, We just published Hibernate Search 5.11.0.Final. This release mainly includes an upgrade to Hibernate ORM 5.4.0.Final. More info: http://in.relation.to/2018/12/20/hibernate-search-5-11-0-Final/ Yoann Rodière Hibernate NoORM Team yo...@hibernate.org _

Re: [hibernate-dev] ORM 5 -> 6 first merge meeting

2018-12-20 Thread Guillaume Smet
Don't know which Google docs you are talking about but they should be referenced here: https://github.com/hibernate/hibernate-orm/blob/wip/6.0/MERGE_STATUS.adoc . Thanks. On Thu, Dec 20, 2018 at 8:59 AM Vlad Mihalcea wrote: > Ok, I'll add the commits that cannot be integrated to the Google Docs

Re: [hibernate-dev] ORM 5 -> 6 first merge meeting

2018-12-20 Thread Vlad Mihalcea
Ok, I'll add the commits that cannot be integrated to the Google Docs list then. Vlad On Thu, Dec 20, 2018 at 7:30 AM Steve Ebersole wrote: > Seems to me it would be better to wait until the whole commit can be > integrated. Just seems like it would be easier to keep track of > > > On Wed, Dec