Class SqlServerSendStringParametersAsUnicodeEvent

java.lang.Object
io.hypersistence.optimizer.core.event.AbstractEvent
io.hypersistence.optimizer.jdbc.event.JdbcDriverEvent
io.hypersistence.optimizer.jdbc.event.encoding.SqlServerSendStringParametersAsUnicodeEvent
All Implemented Interfaces:
Event, Serializable

public class SqlServerSendStringParametersAsUnicodeEvent extends JdbcDriverEvent
The SqlServerSendStringParametersAsUnicodeEvent indicates that the current application has not disabled the sendStringParametersAsUnicode JDBC setting. By default, SQL Server sends the String bind parameter values as NVARCHAR, which can affect index selection if the underlying column is VARCHAR. So, to reduce the risk of full-table scans when there is an index available on those String columns, this setting should be disabled.
Since:
2.6.0
Author:
Vlad Mihalcea
See Also: