diff --git a/querydsl-docs/src/main/docbook/en-US/content/tutorials/sql.xml b/querydsl-docs/src/main/docbook/en-US/content/tutorials/sql.xml index 9335a259f..28a4aa6fb 100644 --- a/querydsl-docs/src/main/docbook/en-US/content/tutorials/sql.xml +++ b/querydsl-docs/src/main/docbook/en-US/content/tutorials/sql.xml @@ -748,6 +748,10 @@ query.with(employee, employee.id, employee.name) .from(...) ]]> + If the columns of the common table expression are a subset of an existing table or view + it is advisable to use a generated path type for it, e.g. QEmployee in this case, but if the + columns don't fit any existing table PathBuilder can be used instead. +