baidu_29643173
baidu_29643173
2015-08-19 08:50

这个应该是Hibernate,的知识吧,求解答

  • hibernate

求详细解释每一个重点,每一个细节,谢谢啦,大神们

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">


    <!-- 通知 -->
  <bean id="tongzhiDao" class="com.sysgrrj.module.TongZhi.dao.TongzhiDao">
      <property name="sessionFactory">
          <ref bean="sessionFactory"/>
      </property>
  </bean>

  <bean name="tongzhiBean" class="com.sysgrrj.module.TongZhi.action.TongzhiAction" scope="prototype">
      <property name="dao">
          <ref bean="tongzhiDao"/>
      </property>
      <property name="service">
          <ref bean="coreService"/>
      </property>
  </bean>

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

2条回答