All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dev.monosoul.jooq.codegen.BuiltInJooqCodegenRunner.kt Maven / Gradle / Ivy

There is a newer version: 6.1.14
Show newest version
package dev.monosoul.jooq.codegen

import org.jooq.codegen.GenerationTool
import org.jooq.meta.jaxb.Configuration

internal class BuiltInJooqCodegenRunner(
    private val codegenAwareClassLoader: ClassLoader,
) : JooqCodegenRunner {
    private val codeGenTool =
        GenerationTool().apply {
            setClassLoader(codegenAwareClassLoader)
        }

    override fun generateJooqClasses(configuration: Configuration) = codeGenTool.run(configuration)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy