Annotation Type Persistence


  • @Retention(RUNTIME)
    public @interface Persistence
    Version:
    $Revision: 1.1 $ - $Date: 2011-02-09 17:55:12 $ Annotation to be used as descriptor for Beans mapped into a Database.
    Author:
    Gilles Hooghe ($Author: plemarch $)
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String name  
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean isPK
      Is this field part of the primary key field(s)
      int length  
      • length

        int length
        Default:
        32
      • isPK

        boolean isPK
        Is this field part of the primary key field(s)
        Default:
        false