-
Notifications
You must be signed in to change notification settings - Fork 2
π Getting Started
Gustavo M. Paes edited this page Jul 6, 2022
·
4 revisions
To get started we need to start Worm and declare your connection, use in main class:
public static void main(String[] args) {
String host = "localhost";
int port = 3306;
String database = "worm_database";
String user = "root";
String password = "";
WormConnection connection = new WormConnection(host, port, database, user, password);
Worm.init(connection);
}Worm has one limitation, when you create a Entity and alter the columns the worm can't automatic update the mysql table, we recomend you drop the table in mysql then create Entity
Worm it's created by GumpDev and use some repositories like HikariCP, Mysql Connector Java and slf4j