Annotation Type DocEmbedded


@Target(FIELD) @Retention(RUNTIME) public @interface DocEmbedded
Specify the property is included in the parent document store index.

Example


  @DocStore
  @Entity
  @Table(name = "o_order")
  public class Order {

    ...
    @DocEmbedded(doc = "id,status,name,billingAddress(*,country(*)")
    @ManyToOne
    Customer customer;

  }

  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The properties on the embedded bean to include in the index.
  • Element Details

    • doc

      String doc
      The properties on the embedded bean to include in the index.
      Default:
      ""