org.hibernate.annotations
Annotation Type NaturalId


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

This specifies that a property is part of the natural id of the entity.


Optional Element Summary
 boolean mutable
          If this natural id component is mutable or not.
 

mutable

public abstract boolean mutable
If this natural id component is mutable or not.

Default:
false


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