@Documented
@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface Persistent
Entity class or a
simple type.| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.Class |
proxyFor
Specifies the class that is proxied by this
PersistentProxy
instance. |
int |
version
Identifies a new version of a class when an incompatible class change
has been made.
|
public abstract int version
Entity.version()public abstract java.lang.Class proxyFor
PersistentProxy
instance.PersistentProxyCopyright (c) 1996, 2016 Oracle and/or its affiliates. All rights reserved.