[hibernate-dev] 6.0 - Session#createFilter

Vlad Mihalcea mihalcea.vlad at gmail.com
Mon Jan 9 06:50:41 EST 2017


+1. Session#createFilter should be removed. Entity queries (HQL, Criteria
API) are way more flexible anyway.

Vlad

On Tue, Jan 3, 2017 at 10:54 PM, Chris Cranford <chris at hibernate.org> wrote:

> +1
>
>
> On 01/03/2017 10:02 AM, andrea boriero wrote:
> > +1 for removing createFilter()
> >
> > On 3 January 2017 at 15:54, Gunnar Morling <gunnar at hibernate.org> wrote:
> >
> >> 2017-01-03 15:28 GMT+01:00 Steve Ebersole <steve at hibernate.org>:
> >>
> >>> On Tue, Jan 3, 2017 at 5:31 AM Gunnar Morling <gunnar at hibernate.org>
> >>> wrote:
> >>>
> >>>> 2017-01-02 15:27 GMT+01:00 Steve Ebersole <steve at hibernate.org>:
> >>>> I realize now that Session#createFilter() is only geared towards
> >>>> collections. So are you suggesting to only remove that method, but
> keep
> >>>> @Filter/@FilterDef?
> >>>>
> >>>
> >>> Correct.   @Filter and @FilterDef are in NO WAY related to
> >>> Session#createFilter
> >>>
> >> Ok. then +1 from my side for removing createFilter() .
> >> _______________________________________________
> >> hibernate-dev mailing list
> >> hibernate-dev at lists.jboss.org
> >> https://lists.jboss.org/mailman/listinfo/hibernate-dev
> >>
> > _______________________________________________
> > hibernate-dev mailing list
> > hibernate-dev at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/hibernate-dev
>
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>


More information about the hibernate-dev mailing list