Annotation Interface SqlQueryConfiguration.DialectConfiguration
- Enclosing class:
- SqlQueryConfiguration
public static @interface SqlQueryConfiguration.DialectConfiguration
Configuration specific to a dialect.
-
Required Element Summary
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionboolean
A String format (seeString.format(String, Object...)
) to format the appearance of position parameters.A String format (seeString.format(String, Object...)
) to format the parameter name.
-
Element Details
-
dialect
Dialect dialect- Returns:
- Format for a specific dialect.
-
-
-
positionalParameterFormat
String positionalParameterFormatA String format (seeString.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
String positionalParameterNameA String format (seeString.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
-