Hi Manuel, Just don't pass the dialect to DSL.using(connection). jOOQ will auto-detect from the JDBC connection URL (there are some ambiguities for some databases)
Thanks, Lukas On Thu, Oct 18, 2018 at 12:44 AM Manuel Rossetti <[email protected]> wrote: > I have a use case where I don't know the SQLDialect prior to getting a > DLSContext. Is there a way in jooq to determine the SQLDialect, say from a > Connection object? > > The DLS.using(connection, dialect) requires the dialect. Is there a way > to determine the dialect prior to this, say from the meta data of the > connection. Is there jooq support for doing this? > > -- > 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.
