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:
parent
ce82b844dd
commit
0ff854cabd
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue