Deprecated方法增加since描述
This commit is contained in:
@@ -22,10 +22,10 @@ import java.lang.annotation.*;
|
||||
* 值越大,优先级越高
|
||||
*
|
||||
* @since Common Annotations 1.2
|
||||
*
|
||||
*
|
||||
* @deprecated replace by org.redkale.annotation.Priority
|
||||
*/
|
||||
@Deprecated
|
||||
@Deprecated(since = "2.8.0")
|
||||
@Target({ElementType.TYPE})
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
public @interface Priority {
|
||||
|
||||
@@ -12,7 +12,7 @@ import java.lang.annotation.*;
|
||||
*
|
||||
* @deprecated replace by org.redkale.annotation.Resource
|
||||
*/
|
||||
@Deprecated
|
||||
@Deprecated(since = "2.8.0")
|
||||
@Target({ElementType.TYPE, ElementType.METHOD, ElementType.FIELD})
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
public @interface Resource {
|
||||
|
||||
@@ -35,7 +35,7 @@ import java.lang.annotation.*;
|
||||
*
|
||||
* @deprecated replace by org.redkale.persistence.Cacheable
|
||||
*/
|
||||
@Deprecated
|
||||
@Deprecated(since = "2.8.0")
|
||||
@Target({TYPE})
|
||||
@Retention(RUNTIME)
|
||||
public @interface Cacheable {
|
||||
|
||||
@@ -15,9 +15,9 @@
|
||||
***************************************************************************** */
|
||||
package javax.persistence;
|
||||
|
||||
import static java.lang.annotation.ElementType.*;
|
||||
import static java.lang.annotation.RetentionPolicy.RUNTIME;
|
||||
import java.lang.annotation.*;
|
||||
import static java.lang.annotation.ElementType.*;
|
||||
|
||||
/**
|
||||
* Specifies the mapped column for a persistent property or field.
|
||||
@@ -49,7 +49,7 @@ import java.lang.annotation.*;
|
||||
*
|
||||
* @deprecated replace by org.redkale.persistence.Column
|
||||
*/
|
||||
@Deprecated
|
||||
@Deprecated(since = "2.8.0")
|
||||
@Target({METHOD, FIELD})
|
||||
@Retention(RUNTIME)
|
||||
public @interface Column {
|
||||
|
||||
@@ -27,7 +27,7 @@ import java.lang.annotation.*;
|
||||
*
|
||||
* @deprecated replace by org.redkale.persistence.Entity
|
||||
*/
|
||||
@Deprecated
|
||||
@Deprecated(since = "2.8.0")
|
||||
@Inherited
|
||||
@Documented
|
||||
@Target(TYPE)
|
||||
|
||||
@@ -15,9 +15,9 @@
|
||||
******************************************************************************/
|
||||
package javax.persistence;
|
||||
|
||||
import static java.lang.annotation.ElementType.*;
|
||||
import static java.lang.annotation.RetentionPolicy.RUNTIME;
|
||||
import java.lang.annotation.*;
|
||||
import static java.lang.annotation.ElementType.*;
|
||||
|
||||
/**
|
||||
* Specifies the primary key of an entity.
|
||||
@@ -49,7 +49,7 @@ import java.lang.annotation.*;
|
||||
*
|
||||
* @deprecated replace by org.redkale.persistence.Id
|
||||
*/
|
||||
@Deprecated
|
||||
@Deprecated(since = "2.8.0")
|
||||
@Target({METHOD, FIELD})
|
||||
@Retention(RUNTIME)
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ import java.lang.annotation.*;
|
||||
* @deprecated replace by org.redkale.persistence.Index
|
||||
*
|
||||
*/
|
||||
@Deprecated
|
||||
@Deprecated(since = "2.8.0")
|
||||
@Target({})
|
||||
@Retention(RUNTIME)
|
||||
public @interface Index {
|
||||
|
||||
@@ -39,7 +39,7 @@ import java.lang.annotation.*;
|
||||
*
|
||||
* @deprecated replace by org.redkale.persistence.Table
|
||||
*/
|
||||
@Deprecated
|
||||
@Deprecated(since = "2.8.0")
|
||||
@Target(TYPE)
|
||||
@Retention(RUNTIME)
|
||||
public @interface Table {
|
||||
|
||||
@@ -15,9 +15,9 @@
|
||||
******************************************************************************/
|
||||
package javax.persistence;
|
||||
|
||||
import static java.lang.annotation.ElementType.*;
|
||||
import static java.lang.annotation.RetentionPolicy.RUNTIME;
|
||||
import java.lang.annotation.*;
|
||||
import static java.lang.annotation.ElementType.*;
|
||||
|
||||
/**
|
||||
* Specifies that the property or field is not persistent. It is used
|
||||
@@ -39,7 +39,7 @@ import java.lang.annotation.*;
|
||||
*
|
||||
* @deprecated replace by org.redkale.persistence.Transient
|
||||
*/
|
||||
@Deprecated
|
||||
@Deprecated(since = "2.8.0")
|
||||
@Target({METHOD, FIELD})
|
||||
@Retention(RUNTIME)
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ import java.lang.annotation.*;
|
||||
*
|
||||
* @deprecated replace by org.redkale.persistence.UniqueConstraint
|
||||
*/
|
||||
@Deprecated
|
||||
@Deprecated(since = "2.8.0")
|
||||
@Target({})
|
||||
@Retention(RUNTIME)
|
||||
public @interface UniqueConstraint {
|
||||
|
||||
Reference in New Issue
Block a user