HHH-6395 - Deprecate org.hibernate.annotations.Entity

This commit is contained in:
Steve Ebersole 2011-07-18 14:49:12 -05:00
parent d9b4342562
commit 8725195501
1 changed files with 7 additions and 1 deletions

View File

@ -33,9 +33,12 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME;
* Extends {@link javax.persistence.Entity} with Hibernate features
*
* @author Emmanuel Bernard
*
* @deprecated See individual attributes for intended replacements
*/
@Target(TYPE)
@Retention(RUNTIME)
@Deprecated
public @interface Entity {
/**
* Is this entity mutable (read only) or not
@ -53,7 +56,10 @@ public @interface Entity {
* @deprecated Use {@link DynamicUpdate} instead
*/
boolean dynamicUpdate() default false;
/** Do a select to retrieve the entity before any potential update */
/**
* Do a select to retrieve the entity before any potential update
* @deprecated Use {@link SelectBeforeUpdate} instead
*/
boolean selectBeforeUpdate() default false;
/**
* polymorphism strategy for this entity