| Modifier | Constructor and Description |
|---|---|
protected |
IteratorHibernateCallback(int fetchSize) |
| Modifier and Type | Method and Description |
|---|---|
abstract org.hibernate.Query |
configureQuery(org.hibernate.Session session)
Create and configure query which will be used as a source for iteration
|
Integer |
doInHibernate(org.hibernate.Session session) |
abstract void |
nextResultItem(org.hibernate.Session session,
T item,
int count)
Perform operation on the cursor row
|
public Integer doInHibernate(org.hibernate.Session session) throws org.hibernate.HibernateException, SQLException
doInHibernate in interface org.springframework.orm.hibernate3.HibernateCallback<Integer>org.hibernate.HibernateExceptionSQLException@NotNull
public abstract org.hibernate.Query configureQuery(@NotNull
org.hibernate.Session session)
throws org.hibernate.HibernateException
session - Hibernate session objectorg.hibernate.HibernateException - when something went wrongpublic abstract void nextResultItem(@NotNull
org.hibernate.Session session,
@NotNull
T item,
int count)
throws org.hibernate.HibernateException
session - Hibernate session objectitem - cursor roworg.hibernate.HibernateException - when something went wrongCopyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.