Hi,
Jooq not generate alias to AggregateFunction<T> in MySQL
Example:
AggregateFunction<Integer> fieldCount = sum(fieldByName(BigDecimal.class,
"measure", measure.getColumnName()).as(
measure.getColumnName()));
...
DSLContext create = using(con, SQLDialect.MYSQL);
create.select(fieldCount).from(TABLE);
Generate:
SELECT SUM(med_field) from TABLETEST;
Thanks.
--
You received this message because you are subscribed to the Google Groups "jOOQ
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.