public final class

ScrollMode

extends Object
implements Serializable
java.lang.Object
   ↳ org.hibernate.ScrollMode

Class Overview

Specifies the type of JDBC scrollable result set to use underneath a ScrollableResults

Summary

Fields
public static final ScrollMode FORWARD_ONLY
public static final ScrollMode SCROLL_INSENSITIVE Note that since the Hibernate session acts as a cache, you might need to expicitly evict objects, if you need to see changes made by other transactions.
public static final ScrollMode SCROLL_SENSITIVE
Public Methods
boolean lessThan(ScrollMode other)
int toResultSetType()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static final ScrollMode FORWARD_ONLY

See Also
  • java.sql.ResultSet.TYPE_FORWARD_ONLY

public static final ScrollMode SCROLL_INSENSITIVE

Note that since the Hibernate session acts as a cache, you might need to expicitly evict objects, if you need to see changes made by other transactions.

See Also
  • java.sql.ResultSet.TYPE_SCROLL_INSENSITIVE

public static final ScrollMode SCROLL_SENSITIVE

See Also
  • java.sql.ResultSet.TYPE_SCROLL_SENSITIVE

Public Methods

public boolean lessThan (ScrollMode other)

public int toResultSetType ()

Returns
  • the JDBC result set type code

public String toString ()