Annotation Type GeneratorType

    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      Class<? extends ValueGenerator<?>> type
      Deprecated.
      The value generator type
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      GenerationTime when
      Deprecated.
      When to generate the value, either only during insert or during insert and update of the hosting entity.
    • Element Detail

      • type

        Class<? extends ValueGenerator<?>> type
        Deprecated.
        The value generator type
        Returns:
        the value generator type
      • when

        GenerationTime when
        Deprecated.
        When to generate the value, either only during insert or during insert and update of the hosting entity.
        Returns:
        the time of generation
        Default:
        org.hibernate.annotations.GenerationTime.ALWAYS