javax.annotation包迁移至org.redkale.annotation; javax.persistence包迁移至org.redkale.persistence

This commit is contained in:
Redkale
2022-12-21 11:42:01 +08:00
parent 628e3f15b1
commit e7aac019e1
140 changed files with 1674 additions and 272 deletions

View File

@@ -15,11 +15,9 @@
******************************************************************************/
package javax.persistence;
import java.lang.annotation.Target;
import java.lang.annotation.Retention;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.*;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.*;
/**
* Specifies that the property or field is not persistent. It is used
@@ -38,7 +36,10 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME;
* </pre>
*
* @since Java Persistence 1.0
*
* @deprecated replace by org.redkale.persistence.Transient
*/
@Deprecated
@Target({METHOD, FIELD})
@Retention(RUNTIME)