Skip to content

Instantly share code, notes, and snippets.

@clonekim
Created August 18, 2020 01:38
Show Gist options
  • Save clonekim/4216499f90a037dc063662eb1a562f05 to your computer and use it in GitHub Desktop.
Save clonekim/4216499f90a037dc063662eb1a562f05 to your computer and use it in GitHub Desktop.
jOOQ/Mariadb CodeGeneration
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<configuration xmlns="http://www.jooq.org/xsd/jooq-codegen-3.13.0.xsd">
<jdbc>
<driver>org.mariadb.jdbc.Driver</driver>
<url>jdbc:mariadb://127.0.0.1:3306/redmine</url>
<user>root</user>
<password>secret</password>
<properties>
<property>
<key>useUnicode</key>
<value>true</value>
</property>
<property>
<key>characterEncoding</key>
<value>utf8</value>
</property>
</properties>
</jdbc>
<generator>
<name>org.jooq.codegen.JavaGenerator</name>
<database>
<name>org.jooq.meta.mariadb.MariaDBDatabase</name>
<inputSchema>redmine</inputSchema>
<includes>.*</includes>
<excludes></excludes>
</database>
<target>
<packageName>com.redmine.schema</packageName>
<directory>/home/bonjour/jooq/src</directory>
</target>
</generator>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment