Hi Deepali, Thanks for your message. Why not upgrade jOOQ as well with the JDK?
As you can see here, the first version to officially support Java 17 was jOOQ 3.16: https://www.jooq.org/download/versions It's not unlikely you'll get an earlier version of jOOQ to work on Java 17 as well, it's just that this has never been integration tested. Regarding the GeneratorStrategy, you'll find that the final methods hint at the actual method you should override. In this case, the getJavaClassName() method. I hope this helps, Lukas On Wed, Dec 6, 2023 at 4:26 PM deepali sharma <[email protected]> wrote: > hi, > > What is the minimum version of JOOQ which supports Java 17. > We were using 3.8 version of JOOQ earlier and now need to migrate to Java > 17. > > Also on migration we are getting number of issues like the > GeneratorStrategy. > Earlier we were implementing custom strategy which use to implement > GeneratorStrategy. > > In older version we were able to override following: > @Override > public final String getFileName(Definition definition) { > return getFileName(definition, Mode.DEFAULT); > } > > Now in new its giving error that Final cannot be overridden. > > Any help will be appreciated where we are implementing custom strategy. > > 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]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jooq-user/b22196b6-f335-4447-9c2e-4f9c698d896en%40googlegroups.com > <https://groups.google.com/d/msgid/jooq-user/b22196b6-f335-4447-9c2e-4f9c698d896en%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/jooq-user/CAB4ELO4s9-KU1WFPOw9b2TPW6hNQ3x70MzTc4eW2KpAc6%3DsLaA%40mail.gmail.com.
