ATG products do not support Unicode for MS SQL Server databases. To use Microsoft SQL Server with ATG products, be sure the useSetUnicodeStream
property of all SQL repository components is set to false
(default). To ensure that no Dynamo components are configured to use useSetUnicodeStream
, you can set this property in your localconfig/GLOBAL.properties
file:
useSetUnicodeStream=false
If you are creating localized content, set the useSetAsciiStream
property to false
in your localconfig/GLOBAL.properties
file:
useSetAsciiStream=false
If you are using the Microsoft SQL Server 2005 JDBC driver, you must set sendStringParametersAsUnicode
to false
in your URL connection string. For example:
URL=jdbc:sqlserver://<SERVER>:<PORT>;databaseName=<DATABASE>;
sendStringParametersAsUnicode=false;selectMethod=cursor;
The sendStringParametersAsUnicode=false
setting avoids Unicode character conversion and enables MS SQL Server to use indexes in queries.
In addition, for better performance turn READ_COMMITTED_SNAPSHOT
on. For example:
ALTER DATABASE <database_name> SET READ_COMMITTED_SNAPSHOT ON;