jooq issue with limit and offset
问题 I have integrated jooq with spring and for all types of querying to the database (MySQL), I am using JDBC Template of spring. jooq library is used here to generate the sql query to pass to jdbc template. Though my rest of the query works fine until I add limit and/or offset to the query. I am generating query as follows: create.select(Factory.field("table_name")) .from("tables t") .where("t.table_schema LIKE '" + schemaName + "'") .limit(10) .offset(2) .getSQL(); I am getting error as follows