When working with SQL, strings are ubiquitous. They can have different meanings, in the jOOQ API. A string can be:
- A bind variable (i.e. a
- A plain SQL template (i.e. a
- An identifier (i.e. a
- A keyword (i.e. a
- A comment (i.e. a
While the jOOQ API applies conventions consistently, it may not always be clear which convention applies. Keywords are hardly a problem, but beginners often confuse when jOOQ offers plain SQL templates for convenience (arbitrary SQL fragments, usually not case-sensitive, SQL injection prone), or identifiers (often case-sensitive, depending on the dialect).
The annotations in this class are used to document each of these stringly typed API elements to make the semantics more clear. For increased clarity, the stringly-typed convenience API can always be avoided in favour of the more strongly-typed API.
- Lukas Eder
- See Also:
Nested Class SummaryModifier and TypeClassDescription
static interfaceThe annotated string type represents an identifier, i.e.
static interfaceThe annotated string type represents a bind variable, i.e.
static interfaceThe annotated string type represents a plain SQL template, i.e.