@Documented @Retention(value=RUNTIME) @Target(value=TYPE) public @interface Persistent
Entity
class or a
simple type.Modifier and Type | Optional Element and Description |
---|---|
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 Class proxyFor
PersistentProxy
instance.PersistentProxy
Copyright (c) 2002, 2015 Oracle and/or its affiliates. All rights reserved.