This content has been marked as final.
Show 2 replies
-
1. Re: How to evict know out of date objects (after SQL stateme
manik Jul 16, 2008 7:01 AM (in response to mvera)Hmm, AFAIK it is generally frowned upon to directly modify the database when using JPA/EJB3 Entities/Hibernate/ORM frameworks in general.
I'm not a JPA/EJB3 Entity expert, but surely bulk updates are supported in EJB-QL? -
2. Re: How to evict know out of date objects (after SQL stateme
brian.stansberry Jul 18, 2008 1:07 PM (in response to mvera)Yes, they are, and if you use them Hibernate will invalidate the relevant regions of the 2nd level cache.