Annotation Type SqlQueryConfiguration.DialectConfiguration


  • public static @interface SqlQueryConfiguration.DialectConfiguration
    Configuration specific to a dialect.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      Dialect dialect  
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean escapeQueries  
      java.lang.String positionalParameterFormat
      A String format (see String.format(String, Object...) to format the appearance of position parameters.
      java.lang.String positionalParameterName
      A String format (see String.format(String, Object...) to format the parameter name.
    • Element Detail

      • dialect

        Dialect dialect
        Returns:
        Format for a specific dialect.
      • positionalParameterFormat

        java.lang.String positionalParameterFormat
        A String format (see String.format(String, Object...) to format the appearance of position parameters. It receives exactly one parameter which is the parameter index (starting from 1).

        NOTE: If positionalParameterName() is specified, the formatter will receive the custom name.

        Returns:
        The position parameter format.
        Default:
        "?"
      • positionalParameterName

        java.lang.String positionalParameterName
        A String format (see String.format(String, Object...) to format the parameter name. It receives exactly one parameter which is the parameter index (starting from 1).
        Returns:
        The position parameter name.
        Since:
        3.8.0
        Default:
        "?"
      • escapeQueries

        boolean escapeQueries
        Returns:
        Whether automatically escape queries.
        Default:
        true