Symptom
While testing a CamelJdbcAdapter connection to MySQL, an error including "Unknown system variable" is logged in the framework.trc file. "nullCatalogMeansCurrent" is used as an example throughout this KBA, but there is no limit to the possible values that would appear as the "Unknown system variable" since it depends on user input.
- JdbcMetadataBrowser | ExceptionUtil.newAdapterException [] - Failed to query schemas. org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Unknown system variable 'nullCatalogMeansCurrent')
Read more...
Environment
- SAP HANA Smart Data Integration
- CamelJdbcAdapter configured for MySQL
- The remote source's JDBC URL contains the unknown system variable, and it occurs after the sessionVariables property:
- jdbc:mysql://<host>:<port>/<database>?sessionVariables=sql_mode=ANSI_QUOTES&nullCatalogMeansCurrent=true
Product
SAP HANA smart data integration all versions
Keywords
KBA , HAN-DP-SDI , SAP HANA smart data integration (SDI) , Problem
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.