[hibernate-commits] Hibernate SVN: r19294 - core/trunk/annotations/src/main/java/org/hibernate/annotations.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Mon Apr 26 12:21:27 EDT 2010


Author: epbernard
Date: 2010-04-26 12:21:26 -0400 (Mon, 26 Apr 2010)
New Revision: 19294

Modified:
   core/trunk/annotations/src/main/java/org/hibernate/annotations/Entity.java
Log:
HHH-5162 Deprecate @Entity.mutable in favor of @Immutable

Modified: core/trunk/annotations/src/main/java/org/hibernate/annotations/Entity.java
===================================================================
--- core/trunk/annotations/src/main/java/org/hibernate/annotations/Entity.java	2010-04-26 16:18:45 UTC (rev 19293)
+++ core/trunk/annotations/src/main/java/org/hibernate/annotations/Entity.java	2010-04-26 16:21:26 UTC (rev 19294)
@@ -36,7 +36,11 @@
 @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;



More information about the hibernate-commits mailing list