Annotation Interface GenerateBridge


@Target(METHOD) @Retention(RUNTIME) @Documented public @interface GenerateBridge
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Set to true to delegate to the super method instead of JpaOperations.
    boolean
    Set to false when the implemented method should not receive the entity type as one of its parameters
    boolean
    Set to true if the corresponding JpaOperations method returns Object but the bridge should return a more specific type.
  • Element Details

    • targetReturnTypeErased

      boolean targetReturnTypeErased
      Set to true if the corresponding JpaOperations method returns Object but the bridge should return a more specific type.
      Default:
      false
    • callSuperMethod

      boolean callSuperMethod
      Set to true to delegate to the super method instead of JpaOperations. This is useful to still inject interceptor calls and mock stubs.
      Default:
      false
    • ignoreEntityTypeParam

      boolean ignoreEntityTypeParam
      Set to false when the implemented method should not receive the entity type as one of its parameters
      Default:
      false