Skip to content

Commit

Permalink
jooq
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Sikina committed Mar 19, 2024
1 parent b916a35 commit 5a228e1
Show file tree
Hide file tree
Showing 13 changed files with 677 additions and 73 deletions.
17 changes: 17 additions & 0 deletions uploader/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,23 @@
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.jooq</groupId>
<artifactId>jooq</artifactId>
<version>3.19.6</version>
</dependency>
<!-- These may not be required, unless you use the GenerationTool manually for code generation -->
<dependency>
<groupId>org.jooq</groupId>
<artifactId>jooq-meta</artifactId>
<version>3.19.6</version>
</dependency>
<dependency>
<groupId>org.jooq</groupId>
<artifactId>jooq-codegen</artifactId>
<version>3.19.6</version>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>mysql</artifactId>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
package edu.harvard.dbmi.avillach.dataupload.codegen;

import org.jooq.Configuration;
import org.jooq.codegen.GenerationTool;

import java.net.URI;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;

public class Generator {
public static void main(String[] args) throws Exception {
URI uri = Generator.class.getClassLoader().getResource("jooq.xml").toURI();
String s = Files.readString(Paths.get(uri));
GenerationTool.generate(s);
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5a228e1

Please sign in to comment.