Hibernate Tips: How to remove entities from the persistence context before doing bulk operations
Hibernate Tips is a series of posts in which I describe a quick and easy solution for common Hibernate questions. If you have a question for a future Hibernate Tip, please leave a comment below. Question: How do you remove entities from the persistence context before performing bulk update operations with JPQL or SQL?