memory « Filter « JPA Q&A





1. In memory filtering of results (NOT with Filters)    forum.hibernate.org

Hi, I have discovered that adding the where attribute in the mapping file of a class "disable" the second level cache lookup for that entities (with EhCache). So I'm trying to do the same filtering (logical delete) in memory after all the data has been loaded from db, both for lookup and queries. Deleted lines are really few so this will ...