Hibernate和ibatis在同一个webapp中混合使用在spring中的配置方法




  class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
 
 
   
      org/javaresource/model/Role.hbm.xml
      org/javaresource/model/User.hbm.xml
      org/javaresource/model/UserCookie.hbm.xml
      org/javaresource/model/UserRole.hbm.xml
   

 

 
   
      @HIBERNATE-DIALECT@
   

 












 
    classpath:/org/javaresource/persistence/ibatis/sql-map-config.xml
 











  class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
 











 
 









 

你可能感兴趣的:(Hibernate,Ibatis,hibernate,ibatis,webapp,spring,bean,class)