From 3dd2803eeababc22dd56e0d18fa74e503756e9dc Mon Sep 17 00:00:00 2001 From: Lukas Eder Date: Thu, 14 Feb 2013 13:42:50 +0100 Subject: [PATCH] [#1914] Document the fact that SELECT * is performed by leaving the SELECT list empty --- jOOQ-website/src/main/resources/manual-3.0.xml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/jOOQ-website/src/main/resources/manual-3.0.xml b/jOOQ-website/src/main/resources/manual-3.0.xml index 373da0a0d3..3cb46cf7f6 100644 --- a/jOOQ-website/src/main/resources/manual-3.0.xml +++ b/jOOQ-website/src/main/resources/manual-3.0.xml @@ -1664,6 +1664,21 @@ Select select2 = create.selectOne();]]> select1 = create.selectDistinct(BOOK.TITLE);]]> +

SELECT *

+

+ jOOQ does not explicitly support the asterisk operator in projections. However, you can omit the projection as in these examples: +

+ + +

Typesafe projections with degree up to {max-row-degree}

Since jOOQ 3.0, and up to degree {max-row-degree} are now generically typesafe. This is reflected by an overloaded SELECT (and SELECT DISTINCT) API in both Factory and Executor. An extract from Factory: