Update README.md

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