Update README.md

This commit is contained in:
2026-06-16 16:37:57 +03:30
parent 1f20e82247
commit 35ee350938
+11 -5
View File
@@ -52,20 +52,26 @@ pom.xml
The `pom.xml` file is responsible for managing project dependencies and configuring the Java version.
You need to add the required PostgreSQL JDBC driver dependency.
Example:
```xml
<dependencies>
<properties>
<maven.compiler.source>23</maven.compiler.source>
<maven.compiler.target>23</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<postgresql.version>42.7.8</postgresql.version>
</properties>
<dependencies>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>42.7.3</version>
<version>${postgresql.version}</version>
</dependency>
</dependencies>
</dependencies>
```
This dependency allows your Java application to connect to PostgreSQL using JDBC.