List of usage examples for org.hibernate Query interface-usage
From source file com.github.jmnarloch.hstreams.StreamQuery.java
/**
* A wrapper around the {@link Query} interface that overrides most of the methods return types.
*
* @param <Q> the actual stream query type
* @author Jakub Narloch
*/
From source file mockit.emulation.hibernate3.QueryEmul.java
@SuppressWarnings({ "ClassWithTooManyMethods", "OverlyComplexClass" }) final class QueryEmul implements Query { private final Collection<?> entities; private final String hql; private final QueryAST ast;
From source file net.commerce.zocalo.hibernate.NoDBQuery.java
/** a do-nothing implementation of Hibernate's Query that can be used when hibernate is disabled. */ public class NoDBQuery implements Query { public String getQueryString() { return null; }
From source file org.babyfish.hibernate.XQuery.java
/** * @author Tao Chen */ public interface XQuery extends Query { long unlimitedCount();
From source file org.opentaps.foundation.entity.hibernate.Query.java
/**
* Opentaps Query which wraps the org.hibernate.Query, With the following
* differences:
* <ul>
* <li>when call the setString method, we will decrypt field value automatically.</li>
* </ul>
From source file org.riotfamily.common.hibernate.TypedQuery.java
/**
* Implementation of the {@link Query} interface that provides methods with
* generic return types, i.e. {@link #load()} and {@link #find()}.
* <p>
* It also adds the {@link #cache()} method to enable query caching and set
* the region to a synthetic name.