filter « Database « JPA Q&A





1. Best practises for filtering big database    forum.hibernate.org

Hi, I'm actually working on a new project which use a big postgresql database (hundreds of go) and I would like to know if you have some example of implementation for a good implementation of a filtering class. For example I never want to retrieve all the data from the tables in my findAll() methods in DAO, it always has to ...

2. Custom Loader / QueryLoader. Filtering results from DB.    forum.hibernate.org

Hello, I need to substitute some results returned from a Criteria query (or a simple find). The Load event has a "result" field that makes it easy to achieve what I want but when I execute a Criteria query hibernate won't fire the load event, only preLoad and postLoad events (for some reason), and on those events i couldn't find an ...