Enabling 2nde level cache with filtered collections.

Description

Actually, when we use filtered collection, the 2nde level cache can't be activate.

Below, the code snippet :

org.hibernate.engine.loading.internal.CollectionLoadContext.java

org.hibernate.event.internal.DefaultInitializeCollectionEventListener.java

Could you add this feature ?
For example, we should modify the cache key to add the filter name.

Environment

None

Activity

Show:
Steve Ebersole
March 19, 2012, 8:33 PM

We believe this is not a good idea, so unfortunately we will not be able to do this.

Lucas Pouzac
March 19, 2012, 9:23 PM

Hi Steve,
Why is not it a good idea ?
Can you add an option can be activated or not ?

Brett Meyer
March 7, 2014, 5:30 PM

Bulk closing rejected tickets in "resolved" state.

Rejected

Assignee

Unassigned

Reporter

Lucas Pouzac

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

Affirmative

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major