Compare commits
No commits in common. '8cf2fb1e85bd72beb67bea32ea8d093152ee2d5d' and 'acbcee46f1f2a8707b00fef31598e33345d28200' have entirely different histories.
8cf2fb1e85
...
acbcee46f1
@ -0,0 +1,15 @@
|
|||||||
|
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