com.gigaspaces.datasource.hibernate
Class HibernateDataIterator<T>

java.lang.Object
  extended by com.gigaspaces.datasource.hibernate.HibernateDataIterator<T>
All Implemented Interfaces:
DataIterator<T>, Iterator<T>

Deprecated. use org.openspaces.persistency.hibernate package instead

@Deprecated
public class HibernateDataIterator<T>
extends Object
implements DataIterator<T>

This class used to fetch data from the database using an iterator. This allows the space to load only the necessary data a query is called or when there are multiple candidates for a match.

Since:
6.0

Constructor Summary
HibernateDataIterator(Iterator iter, org.hibernate.Session session, org.hibernate.Transaction tx)
          Deprecated.  
 
Method Summary
 void close()
          Deprecated. Clean up after any resources associated with this iterator
 boolean hasNext()
          Deprecated.  
 T next()
          Deprecated.  
 void remove()
          Deprecated.  
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HibernateDataIterator

public HibernateDataIterator(Iterator iter,
                             org.hibernate.Session session,
                             org.hibernate.Transaction tx)
Deprecated. 
Method Detail

hasNext

public boolean hasNext()
Deprecated. 
Specified by:
hasNext in interface Iterator<T>

next

public T next()
Deprecated. 
Specified by:
next in interface Iterator<T>

remove

public void remove()
Deprecated. 
Specified by:
remove in interface Iterator<T>

close

public void close()
Deprecated. 
Description copied from interface: DataIterator
Clean up after any resources associated with this iterator

Specified by:
close in interface DataIterator<T>