Symptom
When JDBC connect to HANA via DriverManager.getConnection, it doesn't work. Following is the sample connection URL:
Connection connection = DriverManager.getConnection("jdbc:sap://xxxxx.xxxx.xxxx.com:xxx/?encrypt=true&user=TESTuser&password='Pass&word'")
The password contains character '&'
Read more...
Environment
SAP HANA, platform edition
Product
SAP HANA, platform edition 2.0
Keywords
DriverManager.getConnection, JDBC, password, '&' , KBA , HAN-DB-CLI , SAP HANA Clients (JDBC, ODBC) , How To
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.