build(user-service): replace Spring Boot JPA with Hibernate and PostgreSQL

This commit is contained in:
user
2026-09-21 18:43:23 +04:00
parent dc36b620a5
commit a86dd59b65
+12 -9
View File
@@ -4,13 +4,6 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>4.1.1</version>
<relativePath />
</parent>
<groupId>com.example</groupId> <groupId>com.example</groupId>
<artifactId>user-service</artifactId> <artifactId>user-service</artifactId>
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
@@ -46,15 +39,25 @@
<!-- Optionally: parameterized tests support --> <!-- Optionally: parameterized tests support -->
<!-- JUnit -->
<dependency> <dependency>
<groupId>org.junit.jupiter</groupId> <groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId> <artifactId>junit-jupiter-params</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<!-- Hibernate ORM -->
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.hibernate.orm</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId> <artifactId>hibernate-core</artifactId>
<version>7.4.10.Final</version>
</dependency>
<!-- PostgreSQL JDBC Driver -->
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>42.7.8</version>
</dependency> </dependency>
</dependencies> </dependencies>