摘要: 1.不用dataSource引入hibernate.cfg.xmlBean.xml代码 <beanid="sessionFactory"class="org.springframework.orm.hibernate3.LocalSessionFactoryBean"> <propertyname="configLocation"> <value>classpath:hibernate.cfg.xml</value> </property> </bean>< 阅读全文
posted @ 2012-07-04 13:52 wangle100 阅读(3173) 评论(0) 推荐(0) 编辑