Persistent (Oracle - Berkeley DB Java API)
Keywords: com.sleepycat.persist.model.Persistent class

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Berkeley DB version 4.7.25
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## com.sleepycat.persist.model
Annotation Type Persistent

    @Documented
    @Retention(value=RUNTIME)
    @Target(value=TYPE)
    public @interface Persistent

Identifies a persistent class that is not an `Entity` class or a simple type.

Optional Element Summary
`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.

### version

    public abstract int version

  Identifies a new version of a class when an incompatible class change has been made.

  See Also:
    `Entity.version()`
  Default:
    0

### proxyFor

    public abstract Class proxyFor

  Specifies the class that is proxied by this `PersistentProxy` instance.

  See Also:
    `PersistentProxy`
  Default:
    void.class

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Berkeley DB version 4.7.25
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

Copyright (c) 1996,2008 Oracle. All rights reserved.