use of org.hibernate.event.spi.RefreshEvent in project hibernate-orm by hibernate.
the class SessionImpl method refresh.
@Override
@Deprecated
public void refresh(String entityName, Object object, LockOptions lockOptions) throws HibernateException {
checkOpen();
fireRefresh(new RefreshEvent(entityName, object, lockOptions, this));
}
use of org.hibernate.event.spi.RefreshEvent in project hibernate-orm by hibernate.
the class SessionImpl method refresh.
@Override
public void refresh(String entityName, Object object, RefreshContext refreshedAlready) throws HibernateException {
checkOpenOrWaitingForAutoClose();
fireRefresh(refreshedAlready, new RefreshEvent(entityName, object, this));
}
use of org.hibernate.event.spi.RefreshEvent in project hibernate-orm by hibernate.
the class SessionImpl method refresh.
@Override
public void refresh(Object object, LockMode lockMode) throws HibernateException {
checkOpen();
fireRefresh(new RefreshEvent(object, lockMode, this));
}
use of org.hibernate.event.spi.RefreshEvent in project hibernate-orm by hibernate.
the class SessionImpl method refresh.
@Override
@Deprecated
public void refresh(String entityName, Object object) throws HibernateException {
checkOpen();
fireRefresh(new RefreshEvent(entityName, object, this));
}
use of org.hibernate.event.spi.RefreshEvent in project hibernate-orm by hibernate.
the class SessionImpl method refresh.
// refresh() operations ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@Override
public void refresh(Object object) throws HibernateException {
checkOpen();
fireRefresh(new RefreshEvent(null, object, this));
}
Aggregations