Module io.ebean.api

Annotation Type ModuleInfo


@Target(TYPE) @Retention(RUNTIME) public @interface ModuleInfo
Used by generated code to hold entity classes to register with Ebean.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Returns the entity classes with db name prefix.
    Other classes like Attribute Converters.
  • Element Details

    • entities

      String[] entities
      Returns the entity classes with db name prefix.

      The db name prefix is added to entity classes for non default databases.

      Default:
      {}
    • other

      String[] other
      Other classes like Attribute Converters.
      Default:
      {}