[hibernate-dev] Filter activation
Petar Tahchiev
paranoiabla at gmail.com
Fri Nov 13 08:15:08 EST 2015
Hi Steve,
and thanks for your reply. I guess I have mis-understood what the real
proposal was. Also, unfortunately I don't have enough knowledge of
hibernate's internals and like you already mentioned this change will
actually affect a lot of the code. My question was more to see what the
hibernate team thinks about such a proposal, and if there was something
totally against it. Now I know that it is a valid proposal and might be
included one day in the pipeline.
That's ok for me :)
2015-11-13 14:37 GMT+02:00 Steve Ebersole <steve at hibernate.org>:
> Well I like this idea (additional flag on @Filter) better the actual
> request (multi-valued config setting). And what about for the
> @FilterDef(inition)?
>
> One concern I have is, e.g., getting a collection with a filter enabled,
> now disabling a filter and then initializing the collection. That seems
> like the outcome (the initialization will not be filtered) will not be what
> was probably intended. Filters were designed to be disabled by default and
> only enable-able; so a change like this will challenge assumptions
> throughout the code.
>
> Is this something you are volunteering to work on?
>
>
> On Fri, Nov 13, 2015 at 5:25 AM Petar Tahchiev <paranoiabla at gmail.com>
> wrote:
>
>> Hello,
>>
>> here's a 6-year old issue:
>>
>> https://hibernate.atlassian.net/browse/HHH-3815
>>
>> That suggests to add another attribute on the @Filter annotation
>> (something
>> like activeByDefault=true). Can we have your oppinion on it?
>> --
>> Regards, Petar!
>> Karlovo, Bulgaria.
>> ---
>> Public PGP Key at:
>> http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x19658550C3110611
>> Key Fingerprint: A369 A7EE 61BC 93A3 CDFF 55A5 1965 8550 C311 0611
>> _______________________________________________
>> hibernate-dev mailing list
>> hibernate-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>>
>
--
Regards, Petar!
Karlovo, Bulgaria.
---
Public PGP Key at:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x19658550C3110611
Key Fingerprint: A369 A7EE 61BC 93A3 CDFF 55A5 1965 8550 C311 0611
More information about the hibernate-dev
mailing list