Just realised, it's a slightly more complicated first part before qualify with joins On Tuesday, 20 June 2023 at 16:22:40 UTC+5:30 adithya kamath wrote:
> I'm trying to implement qualify using > var result2 = ctx.select(PRODUCT_MASTER.PRODUCT_LINE, > PRODUCT_MASTER.PRODUCT_NAME, PRODUCT_MASTER.PRODUCT_SCALE) > .from(PRODUCT_MASTER) > > .qualify(rowNumber().over().orderBy(PRODUCT_MASTER.PRODUCT_LINE.desc()).between(start, > > end)) > .fetchInto(ProductMaster.class) > > > But I'm getting data access exception saying it is not available for OSS, > but Saw some links like this > <https://www.jooq.org/doc/latest/manual/sql-building/sql-statements/select-statement/qualify-clause/> > which > show it can be used with OSS. Some other examples like this > <https://www.jooq.org/doc/latest/manual/sql-building/column-expressions/window-functions/window-order/> > and > this > <https://www.jooq.org/doc/latest/manual/sql-building/column-expressions/window-functions/window-frame/> > showing > it is available for OSS. Possibly I'm missing something, or a simple part > of the above that is not OSS? -- 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 jooq-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jooq-user/7628394e-e00c-4011-bbae-b7a145bbe34dn%40googlegroups.com.