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