package baseDao; public interface BaseDao { public void create(Object obj); public void delete(Object obj); public void update(Object obj); public void
Move the session initialization to below method
@PostConstruct public void init(){ session = usermanagementSessionFactory.getCurrentSession(); }