Update README.md
This commit is contained in:
@@ -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>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.postgresql</groupId>
|
||||
<artifactId>postgresql</artifactId>
|
||||
<version>42.7.3</version>
|
||||
</dependency>
|
||||
|
||||
</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>${postgresql.version}</version>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
```
|
||||
|
||||
This dependency allows your Java application to connect to PostgreSQL using JDBC.
|
||||
|
||||
Reference in New Issue
Block a user