From 0ff854cabd72f0d38bd3125b9caf555e59569e76 Mon Sep 17 00:00:00 2001 From: Emmanuel Bernard Date: Mon, 26 Apr 2010 16:21:26 +0000 Subject: [PATCH] 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 --- .../src/main/java/org/hibernate/annotations/Entity.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/annotations/src/main/java/org/hibernate/annotations/Entity.java b/annotations/src/main/java/org/hibernate/annotations/Entity.java index a6de495dbf..a64f805de6 100644 --- a/annotations/src/main/java/org/hibernate/annotations/Entity.java +++ b/annotations/src/main/java/org/hibernate/annotations/Entity.java @@ -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;