Annotation Type ProvidedId


@Retention(RUNTIME) @Target(TYPE) @Documented public @interface ProvidedId
Objects whose identifier is provided externally and not part of the object state should be marked with this annotation

This annotation should not be used in conjunction with DocumentId

  • Element Details

    • name

      String name
      Default:
      "providedId"
    • bridge

      FieldBridge bridge
      Default:
      @org.hibernate.search.annotations.FieldBridge(impl=org.hibernate.search.bridge.builtin.StringBridge.class)