Package org.hibernate.sql.exec.spi
Class StatementOptions
- java.lang.Object
-
- org.hibernate.sql.exec.spi.StatementOptions
-
public class StatementOptions extends Object
Options for the creation of a JDBC statement
-
-
Field Summary
Fields Modifier and Type Field Description static StatementOptionsNONE
-
Constructor Summary
Constructors Constructor Description StatementOptions(Integer firstRow, Integer maxRows, Integer timeoutInMilliseconds, Integer fetchSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetFetchSize()IntegergetFirstRow()IntegergetMaxRows()IntegergetTimeoutInMilliseconds()booleanhasFetchSize()booleanhasLimit()booleanhasTimeout()
-
-
-
Field Detail
-
NONE
public static final StatementOptions NONE
-
-
Method Detail
-
hasLimit
public boolean hasLimit()
-
getFirstRow
public Integer getFirstRow()
-
getMaxRows
public Integer getMaxRows()
-
hasTimeout
public boolean hasTimeout()
-
getTimeoutInMilliseconds
public Integer getTimeoutInMilliseconds()
-
hasFetchSize
public boolean hasFetchSize()
-
getFetchSize
public Integer getFetchSize()
-
-