doc-exports/docs/dws/dev/dws_04_0092.html
Lu, Huayi ef0ada5a59 DWS DEV 20240716 version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: Lu, Huayi <luhuayi@huawei.com>
Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
2024-11-02 09:07:47 +00:00

1.1 KiB

Loading a Driver

Load the database driver before creating a database connection.

You can load the driver in the following ways:

  • Implicitly loading the driver before creating a connection in the code: Class.forName ("org.postgresql.Driver")
  • Transferring a parameter during the JVM startup: java -Djdbc.drivers=org.postgresql.Driver jdbctest