org.hibernate.annotations
Annotation Type OptimisticLock


@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface OptimisticLock

Whether or not update entity's version on property's change If the annotation is not present, the property is involved in the optimistic lock srategy (default)

Author:
Logi Ragnarsson

Required Element Summary
 boolean excluded
          If true, the annotated property change will not trigger a version upgrade
 

Element Detail

excluded

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



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