I have a query like this:
Result<?> result = create.select(CONSUMER.CONS_ID_NO,
CONSUMER.CONS_NAME,
concat(CONSUMER.AREA_CODE, "/", CONSUMER.CONS_NO, "/", CONSUMER.CAT_CODE).as("ConsNo"),
CONSUMER.ARREARS)
.from(CONSUMER)
.fetch();
I wrote this according to the JOOQ Manual, but I am getting an error that says:
The method concat(String...) in the type Factory is not applicable for the arguments (TableField, String, TableField, String, TableField)
I am using JOOQ-3.