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(SessionImplementor session) |
CustomQuery |
getCustomQuery() |
String |
getSourceQuery() |
int |
performExecuteUpdate(QueryParameters queryParameters,
SessionImplementor 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(SessionImplementor session)
public int performExecuteUpdate(QueryParameters queryParameters, SessionImplementor session) throws HibernateException
queryParameters
- The query parameterssession
- The sessionHibernateException
- Indicates a problem performing the query executionCopyright © 2001-2015 Red Hat, Inc. All Rights Reserved.