From dfb05a9e8567e29f5620009125c07241ea29988f Mon Sep 17 00:00:00 2001 From: Lukas Eder Date: Sat, 29 Jun 2013 19:41:35 +0200 Subject: [PATCH] [#2095] Document 's feature of forcing a column onto a SQL type --- .../src/main/resources/manual-3.1.xml | 33 ++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/jOOQ-website/src/main/resources/manual-3.1.xml b/jOOQ-website/src/main/resources/manual-3.1.xml index 97438b8fc7..d889011b70 100644 --- a/jOOQ-website/src/main/resources/manual-3.1.xml +++ b/jOOQ-website/src/main/resources/manual-3.1.xml @@ -9674,6 +9674,36 @@ public class Book implements java.io.Serializable +
+ Data type rewrites + +

+ Sometimes, the actual database data type does not match the SQL data type that you would like to use in Java. This is often the case for ill-supported SQL data types, such as BOOLEAN or UUID. jOOQ's code generator allows you to apply simple data type rewriting. The following configuration will rewrite IS_VALID columns in all tables to be of type BOOLEAN. +

+ + + + + + + + + BOOLEAN + + + .*\.IS_VALID + + +]]> + +

+ See the section about for rewriting columns to your own custom data types. +

+
+
+ +
Custom data types and type conversion @@ -9700,7 +9730,8 @@ public class Book implements java.io.Serializable java.util.GregorianCalendar - + .*\.DATE_OF_.*