Persistent (Oracle - Berkeley DB Java Edition API)
Date: 2014-12-16

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.
  Author:
    Mark Hayes

- - ### Optional Element Summary

    Optional Elements
    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.

- - ### Element Detail

    - #### 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

Copyright (c) 2004, 2014 Oracle and/or its affiliates. All rights reserved.