You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
427 B

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();
}
}