About refresh

release

2.4.4

... with pessimistic lock to bypass cache and to force refresh. Version 2.3.1 Added support for using ...

 
release

2.4.5

... with pessimistic lock to bypass cache and to force refresh. Version 2.3.1 Added support for using ...

 
release

2.4.6

... with pessimistic lock to bypass cache and to force refresh. Version 2.3.1 Added support for using ...

 
release

2.4.0

... with pessimistic lock to bypass cache and to force refresh. Version 2.3.1 Added support for using ...

 
release

2.4.3

... with pessimistic lock to bypass cache and to force refresh. Version 2.3.1 Added support for using ...

 
release

2.4.1

... with pessimistic lock to bypass cache and to force refresh. Version 2.3.1 Added support for using ...

 
forum_thread

Optimistic locking: prevent version increment on entity collection attribute

Hello, I have an entity E with an attribute which is a collection of entities (one to many relationship) with an optimistic locking strategy supported by a version field. Is it possible to prevent the increment of the version of entity E when entities are added to or removed from the collection? Something like the equivalent of @OptimisticLock(excluded=true) in Hibernate? Thanks, Farid #1 2013-04-30 15:49 Hello, I have an entity E with an attribute which is a collection of entities (one to many relationship) ...

 
release

2.4.2

... with pessimistic lock to bypass cache and to force refresh. Version 2.3.1 Added support for using ...

 
manual

Setting and Tuning of JPA Queries

Explains various JPA query settings - result range, flush and lock.... methods that take locks (lock, find, or refresh) or to the Query.setLockMode() or TypedQuery.setLockMode() method. ...