Configure the SQL Server data source properties
Before you begin
Procedure
- Open the WebSphere Administrative Console if it is not already open.
- Choose .
- Click the data source you created for SQL Server.
- Under Additional Properties, click WebSphere Application Server data source properties.
-
Set the value of Statement cache size to
0. - Select the Non-transactional data source checkbox.
- Click OK.
- Click Save to apply your changes to the master configuration.
- Click the data source you created for SQL Server.
- Under Additional Properties, click Custom Properties.
-
Verify the value of property sendStringParametersAsUnicode.
To change the value, click the property name:
- If you are using unicode columns (
nvarchar), set this value totrue. - If you are not using
nvarchar, but single bytevarcharcolumns, set this value tofalse.
Your application server will not start up if this setting is incorrect. - If you are using unicode columns (
-
At the top of the Custom properties screen, click New.
-
Enter
commitOrRollbackOnCleanupin the Name field. -
Enter
rollbackin the Value field. - Click OK.
-
Enter
- Click Save to apply your changes to the master configuration.
What to do next
After completing this procedure, proceed to Test the SQL Server JNDI connection.
