Subversion Repositories SmartDukaan

Rev

Rev 3474 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3474 Rev 4619
Line 18... Line 18...
18
     http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
18
     http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
19
     http://www.springframework.org/schema/jdbc http://www.springframework.org/schema/jdbc/spring-jdbc-3.0.xsd
19
     http://www.springframework.org/schema/jdbc http://www.springframework.org/schema/jdbc/spring-jdbc-3.0.xsd
20
     http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
20
     http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
21
     http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd">
21
     http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd">
22
 
22
 
23
	<context:property-placeholder location="classpath:jdbc.properties" />
-
 
24
 
-
 
25
	<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
23
	<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
26
		<!-- JDBC connection properties -->
24
		<!-- JDBC connection properties -->
27
		<property name="driverClassName" value="${jdbc.driverClassName}" />
25
		<property name="driverClassName" value="com.mysql.jdbc.Driver" />
28
		<property name="url" value="${jdbc.url}" />
26
		<property name="url" value="#{systemProperties['dbHost']}" />
29
		<property name="username" value="${jdbc.username}" />
27
		<property name="username" value="root" />
30
		<property name="password" value="${jdbc.password}" />
28
		<property name="password" value="shop2020" />
31
 
29
 
32
		<!-- Pool size related properties -->
30
		<!-- Pool size related properties -->
33
		<!-- The initial number of connections that are created when the pool is 
31
		<!-- The initial number of connections that are created when the pool is 
34
			started. -->
32
			started. -->
35
		<property name="initialSize" value="2" />
33
		<property name="initialSize" value="2" />