当前页面:
在线文档首页 >
Hibernate 2.1.8 正式版 API 英文文档
QueryParameters (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档
net.sf.hibernate.engine
Class QueryParameters
java.lang.Object
net.sf.hibernate.engine.QueryParameters
- public final class QueryParameters
- extends Object
- Author:
- Gavin King
Constructor Summary |
QueryParameters(Type[] positionalParameterTypes,
Object[] postionalParameterValues)
|
QueryParameters(Type[] positionalParameterTypes,
Object[] positionalParameterValues,
Map namedParameters,
Map lockModes,
RowSelection rowSelection,
boolean cacheable,
String cacheRegion,
boolean forceCacheRefresh)
|
QueryParameters(Type[] positionalParameterTypes,
Object[] positionalParameterValues,
Map lockModes,
RowSelection rowSelection)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueryParameters
public QueryParameters(Type[] positionalParameterTypes,
Object[] postionalParameterValues)
QueryParameters
public QueryParameters(Type[] positionalParameterTypes,
Object[] positionalParameterValues,
Map lockModes,
RowSelection rowSelection)
QueryParameters
public QueryParameters(Type[] positionalParameterTypes,
Object[] positionalParameterValues,
Map namedParameters,
Map lockModes,
RowSelection rowSelection,
boolean cacheable,
String cacheRegion,
boolean forceCacheRefresh)
hasRowSelection
public boolean hasRowSelection()
getNamedParameters
public Map getNamedParameters()
getPositionalParameterTypes
public Type[] getPositionalParameterTypes()
getPositionalParameterValues
public Object[] getPositionalParameterValues()
getRowSelection
public RowSelection getRowSelection()
setNamedParameters
public void setNamedParameters(Map map)
setPositionalParameterTypes
public void setPositionalParameterTypes(Type[] types)
setPositionalParameterValues
public void setPositionalParameterValues(Object[] objects)
setRowSelection
public void setRowSelection(RowSelection selection)
getLockModes
public Map getLockModes()
setLockModes
public void setLockModes(Map map)
getScrollMode
public ScrollMode getScrollMode()
setScrollMode
public void setScrollMode(ScrollMode scrollMode)
traceParameters
public void traceParameters(SessionFactoryImplementor factory)
throws HibernateException
- Throws:
HibernateException
isCacheable
public boolean isCacheable()
setCacheable
public void setCacheable(boolean b)
getCacheRegion
public String getCacheRegion()
setCacheRegion
public void setCacheRegion(String cacheRegion)
validateParameters
public void validateParameters()
throws QueryException
- Throws:
QueryException
isForceCacheRefresh
public boolean isForceCacheRefresh()
setForceCacheRefresh
public void setForceCacheRefresh(boolean forceCacheRefresh)