Filter « EntityManager « JPA Q&A





1. Filter JPA Entities without removing them from database    stackoverflow.com

i have a database table "viewmodule" with a FK to itself (parent_id) to allow recursive structures.

CREATE TABLE viewmodule (
id,
type,
parent_id,
hide);
My Java application uses JPA/Hibernate to map the entities on that table. ...

2. Exception creating entitymanager with hibernate filters ena...    seamframework.org

SiteCommunity>/Forums>/Seam Users>/Exception creating entitymanager w... Forum: Seam Users Forum ListTopic List Exception creating entitymanager with hibernate filters enabled 30. Oct 2010, 14:26 America/New_York | Link Matthew Edor I have a program that wasn't using hibernate filters. I decided to modify it for use with filters. However, any time the filters are enabled, I get a nullpointerexception when trying to create an ...