private static DSLContext db(Connection connection) { return DSL.using(connection, SQLDialect.MYSQL, getSettings()); }
private static Settings getSettings() { return new Settings().withRenderSchema(Boolean.TRUE) .withRenderNameStyle(RenderNameStyle.UPPER) .withRenderKeywordStyle(RenderKeywordStyle.UPPER) .withRenderFormatted(Boolean.TRUE) .withParamType(ParamType.NAMED) .withStatementType(StatementType.PREPARED_STATEMENT) .withExecuteLogging(Boolean.TRUE) .withFetchWarnings(Boolean.TRUE) .withUpdatablePrimaryKeys(Boolean.FALSE); }
--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to jooq-user+...@googlegroups.com.