类 NativeSQLQueryPlan
- java.lang.Object
-
- org.hibernate.engine.query.spi.NativeSQLQueryPlan
-
- 所有已实现的接口:
Serializable
public class NativeSQLQueryPlan extends Object implements Serializable
Defines a query execution plan for a native-SQL query.- 作者:
- Steve Ebersole
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 NativeSQLQueryPlan(String sourceQuery, CustomQuery customQuery)Constructs a NativeSQLQueryPlan.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected voidcoordinateSharedCacheCleanup(SharedSessionContractImplementor session)CustomQuerygetCustomQuery()StringgetSourceQuery()intperformExecuteUpdate(QueryParameters queryParameters, SharedSessionContractImplementor session)Performs the execute query
-
-
-
构造器详细资料
-
NativeSQLQueryPlan
public NativeSQLQueryPlan(String sourceQuery, CustomQuery customQuery)
Constructs a NativeSQLQueryPlan.- 参数:
sourceQuery- The original native query to create a plan forcustomQuery- The query executed via this plan
-
-
方法详细资料
-
getSourceQuery
public String getSourceQuery()
-
getCustomQuery
public CustomQuery getCustomQuery()
-
coordinateSharedCacheCleanup
protected void coordinateSharedCacheCleanup(SharedSessionContractImplementor session)
-
performExecuteUpdate
public int performExecuteUpdate(QueryParameters queryParameters, SharedSessionContractImplementor session) throws HibernateException
Performs the execute query- 参数:
queryParameters- The query parameterssession- The session- 返回:
- The number of affected rows as returned by the JDBC driver
- 抛出:
HibernateException- Indicates a problem performing the query execution
-
-