All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.discursive.dao.generic.hibernate.FinderExecutor Maven / Gradle / Ivy

The newest version!
package com.discursive.dao.generic.hibernate;

import java.lang.reflect.Method;
import java.util.Iterator;
import java.util.List;

import org.hibernate.LockMode;
import org.hibernate.ScrollableResults;

public interface FinderExecutor {
    List executeFinder(Method method, final Object[] queryArgs, LockMode lockMode);
    Iterator executeIterator(Method method, final Object[] queryArgs, LockMode lockMode);
    ScrollableResults executeScroller(Method method, final Object[] queryArgs, LockMode lockMode);
    T executeUnique(Method method, final Object[] queryArgs, LockMode lockMode);
    Long executeCount(Method method, final Object[] queryArgs, LockMode lockMode);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy