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 StatementOptions
NONE
-
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 Integer
getFetchSize()
Integer
getFirstRow()
Integer
getMaxRows()
Integer
getTimeoutInMilliseconds()
boolean
hasFetchSize()
boolean
hasLimit()
boolean
hasTimeout()
-
-
-
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()
-
-