Use of jOOQ: Improve the code to COUNT a sub-select.
authorMurray Cumming <murrayc@murrayc.com>
Tue, 24 Apr 2012 14:22:07 +0000 (16:22 +0200)
committerMurray Cumming <murrayc@murrayc.com>
Tue, 24 Apr 2012 14:22:07 +0000 (16:22 +0200)
commitdca56df7d19f40f39deb92510747d23d3dac83a7
tree424c3e801d7298a5d050ca3e0033b08644268d7e
parenta58edb78174becaa13aaf0aaa48e6d979024ef06
Use of jOOQ: Improve the code to COUNT a sub-select.

* src/main/java/org/glom/web/server/SqlUtils.java:
Move initial query creation into
build_sql_select_step_with_where_clause().
build_sql_select_count_rows(): Use the jOOQ API instead of
concatentating text, because a jOOQ Select*Step is a TableLike,
which is what from() takes.
ChangeLog
src/main/java/org/glom/web/server/SqlUtils.java