Annotation Type OptimisticLock

public @interface OptimisticLock

Whether or not a change of the annotated property will trigger a entity version increment. If the annotation is not present, the property is involved in the optimistic lock strategy (default).

Required Element Summary
 boolean excluded

Element Detail


public abstract boolean excluded
If true, the annotated property change will not trigger a version increment.

Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.