Project created to generate an Enum having as data source in a domain table.
Follow the steps below:
- Configure the data about a connection of the database in class ConnectionFactory.java;
- Run a class Main.java;
- Enter with table name;
- Enter key name of table;
- Enter valeu name of table;
- Enter 0 for String or 1 for Long to inform the type of value;
- Wait to generate the enum;
- Done. Your file is here enuns.