I am using jooq's DSL.select in my Java code, I have scenario where I need to determine the index from a string.
Used DSL.substring("hello123",6,1)
to get the desired index value as string, but no method supporting in DSL to convert it to a number.
Example:
DSL.select(
COL1,
COL2,
COL3,
DSL.substring("Test123456"),
1,
DSL.substring("hello123",6,1))
.from(TABLE)
the nested substring need to be converted into number