public class NativeSQLQueryPlan extends Object implements Serializable
| Constructor and Description |
|---|
NativeSQLQueryPlan(String sourceQuery,
CustomQuery customQuery)
Constructs a NativeSQLQueryPlan.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
coordinateSharedCacheCleanup(SharedSessionContractImplementor session) |
CustomQuery |
getCustomQuery() |
String |
getSourceQuery() |
int |
performExecuteUpdate(QueryParameters queryParameters,
SharedSessionContractImplementor session)
Performs the execute query
|
public NativeSQLQueryPlan(String sourceQuery, CustomQuery customQuery)
sourceQuery - The original native query to create a plan forcustomQuery - The query executed via this planpublic 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-2022 Red Hat, Inc. All Rights Reserved.