| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private static final CoreMessageLogger | |
| private static LoadQueryInfluencers | |
| private final PersistenceContext |
| Access | Constructor and Description |
|---|---|
| public | StatelessSessionImpl(SessionFactoryImpl factory, SessionCreationOptions options)
Deprecated
as a consequence of
SessionFactoryImpl being deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void | afterTransactionBegin()
Implements org. |
| public void | afterTransactionCompletion(boolean
Was the transaction successful? successful, boolean Is this a delayed after transaction completion call (aka after a timeout)? delayed)Overrides org. Implements org. |
| public void | beforeTransactionCompletion()
Overrides org. Implements org. |
| public String | bestGuessEntityName(Object object)
Implements org. |
| public Connection | connection()
Implements org. |
| public Criteria | createCriteria(Class<T>
The class, which is an entity, or has entity subclasses/implementors persistentClass, String The alias to use alias)Implements org. Criteria instance for the given class (entity or subclasses/implementors), using a specific
alias.
|
| public Criteria | createCriteria(String
The entity name entityName, String The alias to use alias)Implements org. Criteria instance for the given entity name, using a specific alias.
|
| public Criteria | createCriteria(Class<T>
The class, which is an entity, or has entity subclasses/implementors persistentClass)Implements org. Criteria instance for the given class (entity or subclasses/implementors).
|
| public Criteria | createCriteria(String
The entity name entityName)Implements org. Criteria instance for the given entity name.
|
| private Object | |
| public void | delete(Object
a detached entity instance entity)Implements org. |
| public void | delete(String
The entityName for the entity to be deleted entityName, Object a detached entity instance entity)Implements org. |
| public int | executeNativeUpdate(NativeSQLQuerySpecification nativeSQLQuerySpecification, QueryParameters queryParameters)
Implements org. |
| public int | executeUpdate(String query, QueryParameters queryParameters)
Implements org. |
| public void | |
| public void | |
| public Object | get(Class<T>
The class of the entity to retrieve entityClass, Serializable The id of the entity to retrieve id)Implements org. |
| public Object | get(Class<T>
The class of the entity to retrieve entityClass, Serializable The id of the entity to retrieve id, LockMode The lock mode to apply to the entity lockMode)Implements org. |
| public Object | get(String
The name of the entity to retrieve entityName, Serializable The id of the entity to retrieve id)Implements org. |
| public Object | get(String
The name of the entity to retrieve entityName, Serializable The id of the entity to retrieve id, LockMode The lock mode to apply to the entity lockMode)Implements org. |
| public CacheMode | |
| public Serializable | getContextEntityIdentifier(Object object)
Implements org. |
| public int | |
| public EntityMode | |
| public EntityPersister | getEntityPersister(String
optional entity name entityName, Object the entity instance object)Implements org. |
| public Object | getEntityUsingInterceptor(EntityKey key)
Implements org. |
| private JtaPlatform | |
| public LoadQueryInfluencers | getLoadQueryInfluencers()
Implements org. |
| private LockMode | |
| private OuterJoinLoadable | |
| public PersistenceContext | getPersistenceContext()
Implements org. |
| public PersistenceContext | getPersistenceContextInternal()
Implements org. getPersistenceContext(), with
two main differences:
a) this version performs better as
it allows for inlining and probably better prediction
b) see SessionImplgetPersistenceContext() : it
does some checks on the current state of the Session.
|
| public String | guessEntityName(Object entity)
Implements org. |
| public Object | immediateLoad(String entityName, Serializable id)
Implements org. |
| public void | initializeCollection(PersistentCollection collection, boolean writing)
Implements org. |
| public Serializable | insert(Object
a new transient instance entity)Implements org. |
| public Serializable | insert(String
The entityName for the entity to be inserted entityName, Object a new transient instance entity)Implements org. |
| public Object | instantiate(String entityName, Serializable id)
Implements org. |
| public Object | instantiate(EntityPersister persister, Serializable id)
Implements org. |
| public Object | internalLoad(String entityName, Serializable id, boolean eager, boolean nullable)
Implements org. |
| public boolean | |
| public boolean | |
| public boolean | |
| private boolean | |
| public boolean | isTransactionInProgress()
Overrides org. Implements org. |
| public Iterator | iterate(String query, QueryParameters queryParameters)
Implements org. |
| public Iterator | iterateFilter(Object collection, String filter, QueryParameters queryParameters)
Implements org. |
| public List | list(String query, QueryParameters queryParameters)
Implements org. |
| public List | list(Criteria criteria)
Implements org. |
| public List | listCustomQuery(CustomQuery customQuery, QueryParameters queryParameters)
Implements org. |
| public List | listFilter(Object collection, String filter, QueryParameters queryParameters)
Implements org. |
| protected Object | load(String entityName, Serializable identifier)
Implements abstract org. |
| private void | |
| private void | |
| public void | refresh(Object
The entity to be refreshed. entity)Implements org. |
| public void | refresh(String
The entityName for the entity to be refreshed. entityName, Object The entity to be refreshed. entity)Implements org. |
| public void | refresh(Object
The entity to be refreshed. entity, LockMode The LockMode to be applied. lockMode)Implements org. |
| public void | refresh(String
The entityName for the entity to be refreshed. entityName, Object The entity to be refreshed. entity, LockMode The LockMode to be applied. lockMode)Implements org. |
| public ScrollableResultsImplementor | scroll(Criteria criteria, ScrollMode scrollMode)
Implements org. |
| public ScrollableResultsImplementor | scroll(String query, QueryParameters queryParameters)
Implements org. |
| public ScrollableResultsImplementor | scrollCustomQuery(CustomQuery customQuery, QueryParameters queryParameters)
Implements org. |
| public void | setAutoClear(boolean enabled)
Implements org. |
| public void | |
| public void | |
| public void | setFlushMode(FlushMode
the new flush mode fm)Overrides org. Implements org. |
| public void | setHibernateFlushMode(FlushMode
the new flush mode flushMode)Overrides org. Implements org. |
| public boolean | |
| public boolean | shouldAutoJoinTransaction()
Overrides org. Implements org. |
| public void | update(Object
a detached entity instance entity)Implements org. |
| public void | update(String
The entityName for the entity to be updated entityName, Object a detached entity instance entity)Implements org. |