diff --git a/build.gradle b/build.gradle
index 1e397ab..9c1ee29 100644
--- a/build.gradle
+++ b/build.gradle
@@ -5,10 +5,10 @@ plugins {
 }
 
 version = "1.0.2"
-description = "Example of using jdbc for a hostpital."
+description = "Example of using jpa for a hostpital."
 
 application {
-    mainClassName = 'space.kklochko.jdbc_hospital_example.Main'
+    mainClassName = 'space.kklochko.jpa_hospital_example.Main'
 }
 
 shadowJar {
@@ -36,6 +36,8 @@ repositories {
 }
 
 dependencies {
+  implementation 'org.hibernate.orm:hibernate-core:6.3.0.Final'
+
   compileOnly 'org.projectlombok:lombok:1.18.30'
   annotationProcessor 'org.projectlombok:lombok:1.18.30'
 
diff --git a/pom.xml b/pom.xml
index 08f694d..32547a6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3,10 +3,10 @@
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
   4.0.0
   space.kklochko
-  jdbc_hospital_example
+  jpa_hospital_example
   1.0.2
   jar
-  Example of using jdbc for a hostpital.
+  Example of using jpa for a hostpital.
 
   
     UTF-8
@@ -25,7 +25,7 @@
         
           
             
-              space.kklochko.jdbc_hospital_example.Main
+              space.kklochko.jpa_hospital_example.Main
               true
             
           
@@ -105,6 +105,11 @@
   
 
   
+    
+      org.hibernate.orm
+      hibernate-core
+      6.3.0.Final
+    
     
       org.projectlombok
       lombok
diff --git a/settings.gradle b/settings.gradle
index 16eb0aa..aefdef7 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -1 +1 @@
-rootProject.name = "jdbc_hospital_example"
\ No newline at end of file
+rootProject.name = "jpa_hospital_example"