parent
33a7bc57d6
commit
8cf2fb1e85
@ -1,15 +0,0 @@
|
||||
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("jpa_hospital_example")).connect();
|
||||
|
||||
CLI cli = new CLI(manager);
|
||||
cli.run();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in new issue