@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.PersistentProxy
Copyright (c) 2002, 2017 Oracle and/or its affiliates. All rights reserved.