public class JdbcFetchSizeEvent extends ConfigurationPropertyEvent
JdbcFetchSizeEvent indicates that the current application
is not using the hibernate.jdbc.fetch_size configuration property.| Modifier and Type | Class and Description |
|---|---|
static class |
JdbcFetchSizeEvent.JdbcFetchSizeOptimalStrategy
The
JdbcFetchSizeEvent.JdbcFetchSizeOptimalStrategy Enum defines the strategies you should apply
depending on the underlying relational database. |
Event.Priority| Constructor and Description |
|---|
JdbcFetchSizeEvent(int fetchSize,
JdbcFetchSizeEvent.JdbcFetchSizeOptimalStrategy optimalStrategy)
Instantiate a
JdbcFetchSizeEvent using the provided JDBC Statement fetch size and optimal strategy. |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
|
int |
getFetchSize()
Get the current JDBC Statement fetch size.
|
JdbcFetchSizeEvent.JdbcFetchSizeOptimalStrategy |
getOptimalStrategy()
Get the optimal
JdbcFetchSizeEvent.JdbcFetchSizeOptimalStrategy to use. |
Event.Priority |
getPriority()
Get the
Event.Priority of this Event |
getConfigurationPropertygetInfoUrlpublic JdbcFetchSizeEvent(int fetchSize,
JdbcFetchSizeEvent.JdbcFetchSizeOptimalStrategy optimalStrategy)
JdbcFetchSizeEvent using the provided JDBC Statement fetch size and optimal strategy.fetchSize - current JDBC Statement fetch sizeoptimalStrategy - the optimal JdbcFetchSizeEvent.JdbcFetchSizeOptimalStrategy to usepublic int getFetchSize()
public JdbcFetchSizeEvent.JdbcFetchSizeOptimalStrategy getOptimalStrategy()
JdbcFetchSizeEvent.JdbcFetchSizeOptimalStrategy to use.JdbcFetchSizeEvent.JdbcFetchSizeOptimalStrategy to usepublic Event.Priority getPriority()
Event.Priority of this EventEvent.Priority of this EventCopyright © 2026. All rights reserved.