From 736aa2c5302109dde62f19e9619a89f29928fc26 Mon Sep 17 00:00:00 2001 From: KKlochko Date: Mon, 6 Nov 2023 21:38:52 +0200 Subject: [PATCH] Add the Hibernate configuration. --- src/main/resources/META-INF/persistence.xml | 48 +++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 src/main/resources/META-INF/persistence.xml diff --git a/src/main/resources/META-INF/persistence.xml b/src/main/resources/META-INF/persistence.xml new file mode 100644 index 0000000..3494f16 --- /dev/null +++ b/src/main/resources/META-INF/persistence.xml @@ -0,0 +1,48 @@ + + + + + Persistence unit for the Jakarta Persistence of the JPA Hospital Example. + + + org.hibernate.jpa.HibernatePersistenceProvider + space.kklochko.jpa_hospital_example.models.Department + space.kklochko.jpa_hospital_example.models.Patient + space.kklochko.jpa_hospital_example.models.Indicator + + + + + + + + + + + + + + + + Test persistence unit for the Jakarta Persistence of the JPA Hospital Example. + + + org.hibernate.jpa.HibernatePersistenceProvider + space.kklochko.jpa_hospital_example.models.Department + space.kklochko.jpa_hospital_example.models.Patient + space.kklochko.jpa_hospital_example.models.Indicator + + + + + + + + + + + +