public abstract class StatelessDao extends Object
Modifier and Type | Field and Description |
---|---|
protected org.hibernate.SessionFactory |
sessionFactory |
Constructor and Description |
---|
StatelessDao() |
Modifier and Type | Method and Description |
---|---|
void |
setSessionFactory(org.hibernate.SessionFactory sessionFactory) |
protected <T> T |
withStatelessSession(Function<org.hibernate.StatelessSession,T> effect) |
@Autowired public void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
protected <T> T withStatelessSession(Function<org.hibernate.StatelessSession,T> effect)
Copyright © 2017 Atlassian. All rights reserved.