Available in versions: Dev (3.21) | Latest (3.20) | 3.19 | 3.18 | 3.17 | 3.16 | 3.15 | 3.14 | 3.13 | 3.12 | 3.11
This documentation is for the unreleased development version of jOOQ. Click on the above version links to get this documentation for a supported version of jOOQ.
Converted data types
Supported by ✅ Open Source Edition ✅ Express Edition ✅ Professional Edition ✅ Enterprise Edition
A converted data type is a type that is being converted to some user data structure, which can be independent of any data structures from the database. There are tons of use-cases for converted data types:
- To attach more semantic types to certain primitives, e.g.
Email
instead of justString
(see also DOMAIN types to do this directly within the database) - To increase type safety, and to avoid comparing two seemingly related types (
VARCHAR
andVARCHAR
), which aren't really comparable (e.g.Email
andUsername
) - To work with libraries instead of raw data, e.g. JAXB or Jackson bindings instead of raw XML types or raw JSON types or GeoTools or JTS instead of jOOQ's simple GEOMETRY type
Table of contents
- 3.14.7.1.
- Custom data type Converter
- 3.14.7.2.
- Custom data type Binding
- 3.14.7.3.
- Custom data type Formatter (new)
previous : next |
Feedback
Do you have any feedback about this page? We'd love to hear it!