It is very easy to get started and create your own customized code generator.
Download, build and install the springRecords jar in your local maven repository.
git clone https://github.com/huherto/springyRecords.git
cd springyRecords
cd generator
mvn install
cd ../..
Make a copy of this directory to start your project.
cp -r springyRecords/example-generator ~/workspace/my-generator
cd ~/workspace/my-generator
Add database driver dependencies in the pom.xml
vim pom.xml
Create datasource and customize code generation modifing this file Application.java
vim src/main/java/com/example/gnerator/Application.java
Build and execute using spring-boot.
maven package
java -jar target/example-generator-0.1.jar
That is all, your code is ready to be used.