Hi Joseph, jOOQ is generally rather restrictive in what it allows users to override via inheritance, which is never a good idea - specifically in the context of these generated classes, which inevitably leak some internal API from the types they extend. So, in general: It's not a good idea to further extend these classes. Perhaps, we should generate them as "final"...
Anyway, what's your use-case? And why would subtyping help you solve it? I'm sure there's another way! Cheers, Lukas 2016-01-03 23:26 GMT+01:00 <[email protected]>: > Hi > > I'm new to Jooq and while trying it I saw this in the flyway example : > public class FlywayTest extends SchemaImpl { > (...) > > /** > * No further instances allowed > */ > protected FlywayTest() { > super("FLYWAY_TEST"); > } > (...) > } > > Why is that? > > I'm wishing to subclass this FlywayTest, is this a no go ? > > Thanks in advance and for Jooq :) > > best > joseph > > -- > 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]. > For more options, visit https://groups.google.com/d/optout. > -- 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]. For more options, visit https://groups.google.com/d/optout.
