Class JdbcEncoding475515599Event
java.lang.Object
io.hypersistence.optimizer.core.event.AbstractEvent
io.hypersistence.optimizer.jdbc.event.JdbcDriverEvent
io.hypersistence.optimizer.jdbc.event.encoding.JdbcEncoding475515599Event
- All Implemented Interfaces:
Event,Serializable
The
JdbcEncoding475515599Event 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:
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.hypersistence.optimizer.core.event.Event
Event.Priority -
Field Summary
Fields inherited from interface io.hypersistence.optimizer.core.event.Event
HIDDEN_DESCRIPTION -
Constructor Summary
ConstructorsConstructorDescriptionInstantiate aJdbcEncoding475515599Eventusing the provided JDBC Driver settings. -
Method Summary
-
Constructor Details
-
JdbcEncoding475515599Event
public JdbcEncoding475515599Event()Instantiate aJdbcEncoding475515599Eventusing the provided JDBC Driver settings.
-
-
Method Details
-
getPriority
Get theEvent.Priorityof thisEvent- Returns:
- the
Event.Priorityof thisEvent
-