public interface HibernateAccess
- Since:
- 1.2.0
- Author:
- Christian Beikov
-
Method Summary
Modifier and Type |
Method |
Description |
void |
afterTransaction(org.hibernate.engine.spi.SessionImplementor session,
boolean success) |
|
void |
checkTransactionSynchStatus(org.hibernate.engine.spi.SessionImplementor session) |
|
RuntimeException |
convert(javax.persistence.EntityManager em,
org.hibernate.HibernateException e) |
|
org.hibernate.hql.spi.ParameterTranslations |
createParameterTranslations(List<org.hibernate.param.ParameterSpecification> queryParameterSpecifications) |
|
org.hibernate.engine.spi.QueryParameters |
createQueryParameters(org.hibernate.type.Type[] positionalParameterTypes,
Object[] positionalParameterValues,
Map<String,org.hibernate.engine.spi.TypedValue> namedParameters,
org.hibernate.LockOptions lockOptions,
org.hibernate.engine.spi.RowSelection rowSelection,
boolean isReadOnlyInitialized,
boolean readOnly,
boolean cacheable,
String cacheRegion,
String comment,
List<String> queryHints,
Serializable[] collectionKeys) |
|
void |
doExecute(org.hibernate.hql.internal.ast.exec.StatementExecutor executor,
String delete,
org.hibernate.engine.spi.QueryParameters parameters,
org.hibernate.engine.spi.SessionImplementor session,
List<org.hibernate.param.ParameterSpecification> parameterSpecifications) |
|
String |
expandParameterLists(org.hibernate.engine.spi.SessionImplementor session,
org.hibernate.Query hibernateQuery,
Map<String,org.hibernate.engine.spi.TypedValue> namedParamsCopy) |
|
Map<String,org.hibernate.engine.spi.TypedValue> |
getNamedParams(org.hibernate.Query hibernateQuery) |
|
org.hibernate.engine.spi.QueryParameters |
getQueryParameters(org.hibernate.Query hibernateQuery,
Map<String,org.hibernate.engine.spi.TypedValue> namedParams) |
|
void |
handlePersistenceException(javax.persistence.EntityManager em,
javax.persistence.PersistenceException e) |
|
List<Object[]> |
list(org.hibernate.loader.hql.QueryLoader queryLoader,
org.hibernate.engine.spi.SessionImplementor sessionImplementor,
org.hibernate.engine.spi.QueryParameters queryParameters) |
|
int |
performExecuteUpdate(org.hibernate.engine.query.spi.HQLQueryPlan queryPlan,
org.hibernate.engine.spi.SessionImplementor sessionImplementor,
org.hibernate.engine.spi.QueryParameters queryParameters) |
|
List<Object> |
performList(org.hibernate.engine.query.spi.HQLQueryPlan queryPlan,
org.hibernate.engine.spi.SessionImplementor sessionImplementor,
org.hibernate.engine.spi.QueryParameters queryParameters) |
|
Object |
performStream(org.hibernate.engine.query.spi.HQLQueryPlan queryPlan,
org.hibernate.engine.spi.SessionImplementor sessionImplementor,
org.hibernate.engine.spi.QueryParameters queryParameters) |
|
void |
throwPersistenceException(javax.persistence.EntityManager em,
org.hibernate.HibernateException e) |
|
org.hibernate.engine.spi.SessionImplementor |
wrapSession(org.hibernate.engine.spi.SessionImplementor session,
DbmsDialect dbmsDialect,
String[][] columns,
int[] returningSqlTypes,
HibernateReturningResult<?> returningResult) |
|
org.hibernate.engine.spi.SessionFactoryImplementor |
wrapSessionFactory(org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory,
DbmsDialect dbmsDialect) |
|
-
Method Details
-
List<Object[]> list(
org.hibernate.loader.hql.QueryLoader queryLoader,
org.hibernate.engine.spi.SessionImplementor sessionImplementor,
org.hibernate.engine.spi.QueryParameters queryParameters)
-
List<Object> performList(
org.hibernate.engine.query.spi.HQLQueryPlan queryPlan,
org.hibernate.engine.spi.SessionImplementor sessionImplementor,
org.hibernate.engine.spi.QueryParameters queryParameters)
-
Object performStream(
org.hibernate.engine.query.spi.HQLQueryPlan queryPlan,
org.hibernate.engine.spi.SessionImplementor sessionImplementor,
org.hibernate.engine.spi.QueryParameters queryParameters)
-
int performExecuteUpdate(org.hibernate.engine.query.spi.HQLQueryPlan queryPlan,
org.hibernate.engine.spi.SessionImplementor sessionImplementor,
org.hibernate.engine.spi.QueryParameters queryParameters)
-
void doExecute(
org.hibernate.hql.internal.ast.exec.StatementExecutor executor,
String delete,
org.hibernate.engine.spi.QueryParameters parameters,
org.hibernate.engine.spi.SessionImplementor session,
List<org.hibernate.param.ParameterSpecification> parameterSpecifications)
-
org.hibernate.engine.spi.QueryParameters getQueryParameters(
org.hibernate.Query hibernateQuery,
Map<String,org.hibernate.engine.spi.TypedValue> namedParams)
-
Map<String,org.hibernate.engine.spi.TypedValue> getNamedParams(
org.hibernate.Query hibernateQuery)
-
String expandParameterLists(
org.hibernate.engine.spi.SessionImplementor session,
org.hibernate.Query hibernateQuery,
Map<String,org.hibernate.engine.spi.TypedValue> namedParamsCopy)
-
org.hibernate.engine.spi.SessionImplementor wrapSession(
org.hibernate.engine.spi.SessionImplementor session,
DbmsDialect dbmsDialect,
String[][] columns,
int[] returningSqlTypes,
HibernateReturningResult<?> returningResult)
-
org.hibernate.engine.spi.SessionFactoryImplementor wrapSessionFactory(
org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory,
DbmsDialect dbmsDialect)
-
void checkTransactionSynchStatus(org.hibernate.engine.spi.SessionImplementor session)
-
void afterTransaction(org.hibernate.engine.spi.SessionImplementor session,
boolean success)
-
RuntimeException convert(
javax.persistence.EntityManager em,
org.hibernate.HibernateException e)
-
void handlePersistenceException(javax.persistence.EntityManager em,
javax.persistence.PersistenceException e)
-
void throwPersistenceException(javax.persistence.EntityManager em,
org.hibernate.HibernateException e)
-
org.hibernate.engine.spi.QueryParameters createQueryParameters(
org.hibernate.type.Type[] positionalParameterTypes,
Object[] positionalParameterValues,
Map<String,org.hibernate.engine.spi.TypedValue> namedParameters,
org.hibernate.LockOptions lockOptions,
org.hibernate.engine.spi.RowSelection rowSelection,
boolean isReadOnlyInitialized,
boolean readOnly,
boolean cacheable,
String cacheRegion,
String comment,
List<String> queryHints,
Serializable[] collectionKeys)
-
org.hibernate.hql.spi.ParameterTranslations createParameterTranslations(
List<org.hibernate.param.ParameterSpecification> queryParameterSpecifications)