You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to use the property schemaspy.connpropstrustServerCertificate\=true with the additional argument integratedSecurity\=true, the boolean value doesn't get correctly parsed (or something else, is just a guess). When appending an ';', the boolean value of trustServerCertificate gets ignored. When doing everything with command line arguments, it works.
Expected Behavior
Both arguments should work when using together
Current Behavior
Getting following error when not using ';':
Failed to connect to database URL [jdbc:sqlserver://localhost:1433;databaseName='myDbName'] The property integratedSecurity does not contain a valid boolean value. Only true or false can be used.
When using ';' as last character, I get the following error:
Failed to connect to database URL [jdbc:sqlserver://localhost:1433;databaseName='myDbName'] "encrypt" property is set to "true" and "trustServerCertificate" property is set to "false" but the driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption: Error: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. ClientConnectionId:<some UUID>
Possible Solution
Not a solution but an alternative: Using command line arguments instead defining them in the config
# type of databaseschemaspy.t=mssql08
# optional path to alternative jdbc drivers.schemaspy.dp=C:/work/Tools/sqljdbc_12.6/enu/jars/mssql-jdbc-12.6.1.jre11.jar
# database properties: host, port number, nameschemaspy.host=localhost
schemaspy.port=1433
schemaspy.db='myDbName'# additional connection string propertiesschemaspy.connprops='trustServerCertificate\=true;integratedSecurity\=true;'# db scheme for which generate diagramsschemaspy.s=mySchema
# output dir to save generated filesschemaspy.o=C:/Work/Mambo/Datenbankdiagramm/Nora
# use single sign-on
schemaspy.sso
# use intergrated Viz.js
schemaspy.vizjs
Context
Database type (e.g. MySQL): MSSQL
Database driver version (is you use a special one): 12.6.1.jre11.jar
When trying to use the property
schemaspy.connprops
trustServerCertificate\=true
with the additional argumentintegratedSecurity\=true
, the boolean value doesn't get correctly parsed (or something else, is just a guess). When appending an ';', the boolean value oftrustServerCertificate
gets ignored. When doing everything with command line arguments, it works.Expected Behavior
Both arguments should work when using together
Current Behavior
Getting following error when not using ';':
When using ';' as last character, I get the following error:
Possible Solution
Not a solution but an alternative: Using command line arguments instead defining them in the config
Steps to Reproduce (for bugs)
Running following powershel script in powershell:
schemaspy.properties
Context
Your Environment
The text was updated successfully, but these errors were encountered: