Files
spring-rest-example/src/main/java/space/kklochko/jpa_hospital_example/Main.java
T
2023-11-06 21:58:03 +02:00

16 lines
427 B
Java

package space.kklochko.jpa_hospital_example;
import jakarta.persistence.EntityManager;
import space.kklochko.jpa_hospital_example.cli.CLI;
import space.kklochko.jpa_hospital_example.db.factories.EntityManagerConnection;
public class Main {
public static void main(String[] args) {
EntityManager manager = (new EntityManagerConnection()).connect();
CLI cli = new CLI(manager);
cli.run();
}
}