You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Java library to generate JPA entities from DDL statements. The library offers both a maven plugin and a jar to be run as a standalone tool.
4
+
5
+
### Getting Started
6
+
7
+
## Maven
8
+
9
+
**sqlscript2jpa-codegen** is available at [Maven Central Repository](https://central.sonatype.com/artifact/io.github.ngbsn/sqlscript2jpa-codegen-maven-plugin).
10
+
To use it, simply declare the following plugin in your pom file:
**sqlFilePath**: Path to the SQL file containing the DDL commands.
33
+
**packageName**: The package name for the generated entities.
34
+
35
+
By default, the source code will be generated under `target/generated-sources/sqlscript2jpa`
36
+
37
+
## Standalone
38
+
39
+
Get the jar from https://repo1.maven.org/maven2/io/github/ngbsn/sqlscript2jpa-codegen-maven-plugin/1.0.3/sqlscript2jpa-codegen-maven-plugin-1.0.3-standalone.jar
0 commit comments