[单选题]
如何在后台直接获得IHibernateDao对象,不通过spring注入()
A .直接new一个IHibernateDao对象即可
B .无法实现
C .用sessionFactory.getbean方法
D .用ComponentFactory的getbean方法
参考答案与解析: