org.hibernate.search.annotations

## Annotation Type ProvidedId

- Deprecated.
  with no replacement: this annotation will be removed.

      @Retention(value=RUNTIME)
       @Target(value=TYPE)
       @Documented
       @Deprecated
      public @interface ProvidedId

  Objects whose identifier is provided externally and not part of the object state should be marked with this annotation. This is only meaningful when Hibernate Search is used to index Infinispan objects, and should not be used to index JPA/Hibernate entities stored via Hibernate.

- - ### Field Summary

    Fields
    Modifier and Type | Fields and Description
    --- | ---
    `static String` | `defaultFieldName` Deprecated.

  - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `FieldBridge` | `bridge` Deprecated.
    `String` | `name` Deprecated.

- - ### Field Detail

    - #### defaultFieldName

          public static final String defaultFieldName

      Deprecated.

  - ### Element Detail

    - #### name

          public abstract String name

      Deprecated.
      Default:
        "providedId"

  - - #### bridge

          public abstract FieldBridge bridge

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

Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved