|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Query | |
---|---|
net.smartlab.web | |
org.hibernate | |
org.hibernate.impl |
Uses of Query in net.smartlab.web |
---|
Constructors in net.smartlab.web with parameters of type Query | |
---|---|
BusinessObjectFactory.Paginator(Query query)
Constructs an instance on an Hibernate query with an unlimited number of items per page and an unlimited number of pages displayed. |
|
BusinessObjectFactory.Paginator(Query query,
int size,
int pages)
Constructs an instance on an Hibernate query with the specified number of elements per page and the specified number of pages displayed. |
Uses of Query in org.hibernate |
---|
Methods in org.hibernate that return Query | |
---|---|
Query |
Query.setBigDecimal(int position,
java.math.BigDecimal number)
|
Query |
Query.setBigDecimal(java.lang.String name,
java.math.BigDecimal number)
|
Query |
Query.setBigInteger(int position,
java.math.BigInteger number)
|
Query |
Query.setBigInteger(java.lang.String name,
java.math.BigInteger number)
|
Query |
Query.setBinary(int position,
byte[] val)
|
Query |
Query.setBinary(java.lang.String name,
byte[] val)
|
Query |
Query.setBoolean(int position,
boolean val)
|
Query |
Query.setBoolean(java.lang.String name,
boolean val)
|
Query |
Query.setByte(int position,
byte val)
|
Query |
Query.setByte(java.lang.String name,
byte val)
|
Query |
Query.setCacheable(boolean cacheable)
Enable caching of this query result set. |
Query |
Query.setCacheMode(org.hibernate.CacheMode cacheMode)
Override the current session cache mode, just for this query. |
Query |
Query.setCacheRegion(java.lang.String cacheRegion)
Set the name of the cache region. |
Query |
Query.setCalendar(int position,
java.util.Calendar calendar)
|
Query |
Query.setCalendar(java.lang.String name,
java.util.Calendar calendar)
|
Query |
Query.setCalendarDate(int position,
java.util.Calendar calendar)
|
Query |
Query.setCalendarDate(java.lang.String name,
java.util.Calendar calendar)
|
Query |
Query.setCharacter(int position,
char val)
|
Query |
Query.setCharacter(java.lang.String name,
char val)
|
Query |
Query.setComment(java.lang.String comment)
Add a comment to the generated SQL. |
Query |
Query.setDate(int position,
java.util.Date date)
|
Query |
Query.setDate(java.lang.String name,
java.util.Date date)
|
Query |
Query.setDouble(int position,
double val)
|
Query |
Query.setDouble(java.lang.String name,
double val)
|
Query |
Query.setEntity(int position,
java.lang.Object val)
Bind an instance of a mapped persistent class to a JDBC-style query parameter. |
Query |
Query.setEntity(java.lang.String name,
java.lang.Object val)
Bind an instance of a mapped persistent class to a named query parameter. |
Query |
Query.setFetchSize(int fetchSize)
Set a fetch size for the underlying JDBC query. |
Query |
Query.setFirstResult(int firstResult)
Set the first row to retrieve. |
Query |
Query.setFloat(int position,
float val)
|
Query |
Query.setFloat(java.lang.String name,
float val)
|
Query |
Query.setFlushMode(org.hibernate.FlushMode flushMode)
Override the current session flush mode, just for this query. |
Query |
Query.setInteger(int position,
int val)
|
Query |
Query.setInteger(java.lang.String name,
int val)
|
Query |
Query.setLocale(int position,
java.util.Locale locale)
|
Query |
Query.setLocale(java.lang.String name,
java.util.Locale locale)
|
Query |
Query.setLockMode(java.lang.String alias,
org.hibernate.LockMode lockMode)
Set the lockmode for the objects idententified by the given alias that appears in the FROM clause. |
Query |
Query.setLong(int position,
long val)
|
Query |
Query.setLong(java.lang.String name,
long val)
|
Query |
Query.setMaxResults(int maxResults)
Set the maximum number of rows to retrieve. |
Query |
Query.setParameter(int position,
java.lang.Object val)
Bind a value to a JDBC-style query parameter. |
Query |
Query.setParameter(int position,
java.lang.Object val,
org.hibernate.type.Type type)
Bind a value to a JDBC-style query parameter. |
Query |
Query.setParameter(java.lang.String name,
java.lang.Object val)
Bind a value to a named query parameter. |
Query |
Query.setParameter(java.lang.String name,
java.lang.Object val,
org.hibernate.type.Type type)
Bind a value to a named query parameter. |
Query |
Query.setParameterList(java.lang.String name,
java.util.Collection vals)
Bind multiple values to a named query parameter. |
Query |
Query.setParameterList(java.lang.String name,
java.util.Collection vals,
org.hibernate.type.Type type)
Bind multiple values to a named query parameter. |
Query |
Query.setParameterList(java.lang.String name,
java.lang.Object[] vals)
Bind multiple values to a named query parameter. |
Query |
Query.setParameterList(java.lang.String name,
java.lang.Object[] vals,
org.hibernate.type.Type type)
Bind multiple values to a named query parameter. |
Query |
Query.setParameters(java.lang.Object[] values,
org.hibernate.type.Type[] types)
Bind values and types to positional parameters. |
Query |
Query.setProperties(java.util.Map bean)
Bind the values of the given Map for each named parameters of the query, matching key names with parameter names and mapping value types to Hibernate types using hueristics. |
Query |
Query.setProperties(java.lang.Object bean)
Bind the property values of the given bean to named parameters of the query, matching property names with parameter names and mapping property types to Hibernate types using hueristics. |
Query |
Query.setReadOnly(boolean readOnly)
Entities retrieved by this query will be loaded in a read-only mode where Hibernate will never dirty-check them or make changes persistent. |
Query |
Query.setResultTransformer(org.hibernate.transform.ResultTransformer transformer)
Set a strategy for handling the query results. |
Query |
Query.setSerializable(int position,
java.io.Serializable val)
|
Query |
Query.setSerializable(java.lang.String name,
java.io.Serializable val)
|
Query |
Query.setShort(int position,
short val)
|
Query |
Query.setShort(java.lang.String name,
short val)
|
Query |
Query.setString(int position,
java.lang.String val)
|
Query |
Query.setString(java.lang.String name,
java.lang.String val)
|
Query |
Query.setText(int position,
java.lang.String val)
|
Query |
Query.setText(java.lang.String name,
java.lang.String val)
|
Query |
Query.setTime(int position,
java.util.Date date)
|
Query |
Query.setTime(java.lang.String name,
java.util.Date date)
|
Query |
Query.setTimeout(int timeout)
Set a timeout for the underlying JDBC query. |
Query |
Query.setTimestamp(int position,
java.util.Date date)
|
Query |
Query.setTimestamp(java.lang.String name,
java.util.Date date)
|
Uses of Query in org.hibernate.impl |
---|
Classes in org.hibernate.impl that implement Query | |
---|---|
class |
org.hibernate.impl.AbstractQueryImpl
|
class |
QueryImpl
default implementation of the Query interface, for "ordinary" HQL queries (not collection filters) |
class |
SQLQueryImpl
Implements SQL query passthrough. |
Methods in org.hibernate.impl that return Query | |
---|---|
Query |
QueryImpl.setLockMode(java.lang.String alias,
org.hibernate.LockMode lockMode)
|
Query |
SQLQueryImpl.setLockMode(java.lang.String alias,
org.hibernate.LockMode lockMode)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |