Obtain the package dws_8.1.x_jdbc_driver.zip from the management console. For details, see Downloading Drivers.
Compressed in it is the JDBC driver JAR package:
gsjdbc4.jar: Driver package compatible with PostgreSQL. The class name and class structure in the driver are the same as those in the PostgreSQL driver. All the applications running on PostgreSQL can be smoothly transferred to the current system.
Before creating a database connection, you need to load the database driver class org.postgresql.Driver (decompressed from gsjdbc4.jar).