Re: [hibernate-dev] ScrollableResults and 6.0

2017-01-03 Thread Sanne Grinovero
On 3 January 2017 at 11:39, Gunnar Morling wrote: > 2017-01-03 11:57 GMT+01:00 Sanne Grinovero : >> >> It sounds great but I'm not sure it's possible? > > > WDYM specifically? > >> For example how would this handle projections? I guess it's a similar >>

Re: [hibernate-dev] ScrollableResults and 6.0

2017-01-03 Thread Gunnar Morling
2017-01-03 11:57 GMT+01:00 Sanne Grinovero : > It sounds great but I'm not sure it's possible? > WDYM specifically? For example how would this handle projections? I guess it's a similar > doubt as the one Gunnar shared, but while he suggests a semi-typesafe > solution, I'm

Re: [hibernate-dev] ScrollableResults and 6.0

2017-01-03 Thread Sanne Grinovero
It sounds great but I'm not sure it's possible? For example how would this handle projections? I guess it's a similar doubt as the one Gunnar shared, but while he suggests a semi-typesafe solution, I'm not sure how cool it is to give the feeling that types are being checked when they might

Re: [hibernate-dev] 6.0 - Session#createFilter

2017-01-03 Thread Gunnar Morling
2017-01-02 15:27 GMT+01:00 Steve Ebersole : > The alternative atm is to directly query against the owning entity or > directly against the element. Granted that last one assumes that the > element defines a mapped reference back to the owner to be able to apply > the

Re: [hibernate-dev] 6.0 - Session#createFilter

2017-01-03 Thread Steve Ebersole
The plan with Stream support here is exactly that... translate the map, filter etc calls into a SQL query. On Tue, Jan 3, 2017 at 4:41 AM Sanne Grinovero wrote: > I wonder if "use streams" is a reasonable replacement for all power > users who might have needed this? We

Re: [hibernate-dev] 6.0 - Session#createFilter

2017-01-03 Thread Steve Ebersole
On Tue, Jan 3, 2017 at 5:31 AM Gunnar Morling wrote: > 2017-01-02 15:27 GMT+01:00 Steve Ebersole : > I realize now that Session#createFilter() is only geared towards > collections. So are you suggesting to only remove that method, but keep >

Re: [hibernate-dev] ScrollableResults and 6.0

2017-01-03 Thread Steve Ebersole
Inline... On Tue, Jan 3, 2017 at 5:39 AM Gunnar Morling wrote: > 2017-01-03 11:57 GMT+01:00 Sanne Grinovero : > > Btw. we'd one Tuple type per number of returns, i.e. Tuple2, Tuple3 etc., > each with the right number of type arguments. As said I'm

Re: [hibernate-dev] 6.0 - Session#createFilter

2017-01-03 Thread Sanne Grinovero
On 3 January 2017 at 14:26, Steve Ebersole wrote: > The plan with Stream support here is exactly that... translate the map, > filter etc calls into a SQL query. Ah, that sounds awesome! > > > On Tue, Jan 3, 2017 at 4:41 AM Sanne Grinovero wrote: >> >>

Re: [hibernate-dev] CI Jenkins upgraded to version 2.38

2017-01-03 Thread Davide D'Alto
Thanks for the feedback, header and footer should be fine now. Thanks, Davide On Thu, Dec 29, 2016 at 11:37 PM, Sanne Grinovero wrote: > Thanks Davide! > The builds seems to work just fine, the only minor defect I've noticed > is with the stylesheet doing some strange

Re: [hibernate-dev] 6.0 - Session#createFilter

2017-01-03 Thread Gunnar Morling
2017-01-03 15:28 GMT+01:00 Steve Ebersole : > On Tue, Jan 3, 2017 at 5:31 AM Gunnar Morling > wrote: > >> 2017-01-02 15:27 GMT+01:00 Steve Ebersole : >> I realize now that Session#createFilter() is only geared towards >>

Re: [hibernate-dev] ScrollableResults and 6.0

2017-01-03 Thread Steve Ebersole
Inline... On Tue, Jan 3, 2017 at 4:58 AM Sanne Grinovero wrote: > It sounds great but I'm not sure it's possible? > No idea what this means. Its more than possible. In fact its already largely done. What do you mean? For example how would this handle projections?

Re: [hibernate-dev] 6.0 - Session#createFilter

2017-01-03 Thread andrea boriero
+1 for removing createFilter() On 3 January 2017 at 15:54, Gunnar Morling wrote: > 2017-01-03 15:28 GMT+01:00 Steve Ebersole : > > > On Tue, Jan 3, 2017 at 5:31 AM Gunnar Morling > > wrote: > > > >> 2017-01-02 15:27 GMT+01:00

Re: [hibernate-dev] CI Jenkins upgraded to version 2.38

2017-01-03 Thread Yoann Rodiere
Thanks! Looking forward to using pipelines :) It seems PR jobs for Hibernate Search do not trigger anymore, though: * https://github.com/hibernate/hibernate-search/pull/1273 was submitted yesterday * there is no build on http://ci.hibernate.org/view/Pull%20Requests/job/ hibernate-search-PR/

Re: [hibernate-dev] CI Jenkins upgraded to version 2.38

2017-01-03 Thread Guillaume Smet
On Tue, Jan 3, 2017 at 6:23 PM, Yoann Rodiere wrote: > It's a bit odd, because the OGM PR job seems to work fine... From what I > can see there hasn't been any particular change on the OGM job. > As for OGM, the build is triggered but does not report back to GitHub. I

Re: [hibernate-dev] ScrollableResults and 6.0

2017-01-03 Thread Chris Cranford
Steve - I'm inclined to agree that changing signatures makes the most sense at this point. Chris On 12/27/2016 04:02 PM, Steve Ebersole wrote: > FWIW my inclination is to just change the existing signatures. 6.0 is a > major release with major changes already wrt querying. > > > On Tue, Dec

Re: [hibernate-dev] 6.0 - Session#createFilter

2017-01-03 Thread Chris Cranford
+1 On 01/03/2017 10:02 AM, andrea boriero wrote: > +1 for removing createFilter() > > On 3 January 2017 at 15:54, Gunnar Morling wrote: > >> 2017-01-03 15:28 GMT+01:00 Steve Ebersole : >> >>> On Tue, Jan 3, 2017 at 5:31 AM Gunnar Morling