HHH-5162 Deprecate @Entity.mutable in favor of @Immutable

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19294 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Emmanuel Bernard 2010-04-26 16:21:26 +00:00
parent ce82b844dd
commit 0ff854cabd
1 changed files with 5 additions and 1 deletions

View File

@ -36,7 +36,11 @@ import java.lang.annotation.Target;
@Target(TYPE)
@Retention(RUNTIME)
public @interface Entity {
/** Is this entity mutable (read only) or not */
/**
* Is this entity mutable (read only) or not
*
* @deprecated use {@link org.hibernate.annotations.Immutable}
*/
boolean mutable() default true;
/** Needed column only in SQL on insert */
boolean dynamicInsert() default false;