public class DefaultHibernate3Handler extends Object implements Hibernate3Handler
Constructor and Description |
---|
DefaultHibernate3Handler(Hibernate3Factory hibernate3Factory,
Hibernate3Storage hibernate3Storage) |
Modifier and Type | Method and Description |
---|---|
void |
closeHbm3Session() |
void |
closeHbm3Session(String sessionFactoryName) |
<R> R |
withHbm3Session(Hibernate3Callback<R> callback) |
<R> R |
withHbm3Session(String sessionFactoryName,
Hibernate3Callback<R> callback) |
@Inject public DefaultHibernate3Handler(@Nonnull Hibernate3Factory hibernate3Factory, @Nonnull Hibernate3Storage hibernate3Storage)
@Nullable public <R> R withHbm3Session(@Nonnull Hibernate3Callback<R> callback) throws RuntimeHibernate3Exception
withHbm3Session
in interface Hibernate3Handler
RuntimeHibernate3Exception
@Nullable public <R> R withHbm3Session(@Nonnull String sessionFactoryName, @Nonnull Hibernate3Callback<R> callback) throws RuntimeHibernate3Exception
withHbm3Session
in interface Hibernate3Handler
RuntimeHibernate3Exception
public void closeHbm3Session()
closeHbm3Session
in interface Hibernate3Handler
public void closeHbm3Session(@Nonnull String sessionFactoryName)
closeHbm3Session
in interface Hibernate3Handler