Annotation Type DbPrimaryKey


  • @Retention(RUNTIME)
    public @interface DbPrimaryKey
    The same like DbPersistent but the column is used as primary key. You can mark more then one getter/setter as primary key to generate combined keys. The names will be ordered alphabetically if you search an object with this key.
    Author:
    mikehummel
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean auto_id  
      String prefix  
    • Element Detail

      • auto_id

        boolean auto_id
        Default:
        true
      • prefix

        String prefix
        Default:
        ""