Help Center/
Data Warehouse Service /
More Documents/
Developer Guide (ME-Abu Dhabi Region)/
Using JDBC or ODBC for DWS Secondary Development/
JDBC-Based Development/
Loading a Driver
Updated on 2025-10-11 GMT+08:00
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
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot