Spring整合Hibernate配置C3P0连接池XML配置



	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
	xmlns:context="http://www.springframework.org/schema/context"
	xmlns:aop="http://www.springframework.org/schema/aop" xmlns:tx="http://www.springframework.org/schema/tx"
	xmlns:task="http://www.springframework.org/schema/task"
	xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
        http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd
       	http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
        http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd 
        http://www.springframework.org/schema/task http://www.springframework.org/schema/task/spring-task-3.0.xsd ">


	
	
	
			base-package="com.luhao.Entity,com.luhao.service,com.luhao.dao">
	
			class="org.springframework.jdbc.datasource.DriverManagerDataSource">
		
		
		
		
	
	
	
		
		
		
		
		
		
		
		
		
		
		
		
		
		
	
	
			class="org.springframework.orm.hibernate5.LocalSessionFactoryBean">
		
		
			
				${hibernate.dialect}
				${hibernate.show_sql}
				${hibernate.hbm2ddl.auto}
			
		
		
	
	
			class="org.springframework.orm.hibernate5.HibernateTransactionManager">
		
	
	
	
		
			
			
			
		
	
	
	
					id="transactionPoint" />
		
	



你可能感兴趣的:(Java学习笔记)