Skip to content

Instantly share code, notes, and snippets.

View smacharacek's full-sized avatar

Simon Macharacek smacharacek

View GitHub Profile
@smacharacek
smacharacek / MySqlLiquibaseDatabase.java
Last active October 17, 2023 05:42
Generator for jOOQ for MySql with Liquibase & Testcontainers (with gradle code generation)
package com.example
import liquibase.Contexts;
import liquibase.LabelExpression;
import liquibase.Liquibase;
import liquibase.database.Database;
import liquibase.database.DatabaseFactory;
import liquibase.database.jvm.JdbcConnection;
import liquibase.resource.FileSystemResourceAccessor;
import org.jooq.DSLContext;