public class NativeSQLQueryPlan
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
NativeSQLQueryPlan(java.lang.String sourceQuery,
CustomQuery customQuery)
Constructs a NativeSQLQueryPlan.
|
Modifier and Type | Method and Description |
---|---|
protected void |
coordinateSharedCacheCleanup(SharedSessionContractImplementor session) |
CustomQuery |
getCustomQuery() |
java.lang.String |
getSourceQuery() |
int |
performExecuteUpdate(QueryParameters queryParameters,
SharedSessionContractImplementor session)
Performs the execute query
|
public NativeSQLQueryPlan(java.lang.String sourceQuery, CustomQuery customQuery)
sourceQuery
- The original native query to create a plan forcustomQuery
- The query executed via this planpublic java.lang.String getSourceQuery()
public CustomQuery getCustomQuery()
protected void coordinateSharedCacheCleanup(SharedSessionContractImplementor session)
public int performExecuteUpdate(QueryParameters queryParameters, SharedSessionContractImplementor session) throws HibernateException
queryParameters
- The query parameterssession
- The sessionHibernateException
- Indicates a problem performing the query executionCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.