Subversion Repositories SmartDukaan

Rev

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

Rev 4637 Rev 21617
Line 15... Line 15...
15
     http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd
15
     http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd
16
     http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
16
     http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
17
     http://www.springframework.org/schema/jdbc http://www.springframework.org/schema/jdbc/spring-jdbc-3.0.xsd
17
     http://www.springframework.org/schema/jdbc http://www.springframework.org/schema/jdbc/spring-jdbc-3.0.xsd
18
     http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
18
     http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
19
     http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd">
19
     http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd">
-
 
20
     
-
 
21
     
-
 
22
    <!-- this is the service object that we want to make transactional -->
-
 
23
    <bean id="warehouseHandler" class="in.shop2020.warehouse.service.handler.WarehouseServiceHandler"/>
20
 
24
 
21
    <bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
25
    <bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
22
        <!-- JDBC connection properties -->
26
        <!-- JDBC connection properties -->
23
        <property name="driverClassName" value="com.mysql.jdbc.Driver" />
27
        <property name="driverClassName" value="com.mysql.jdbc.Driver" />
24
        <property name="url" value="#{systemProperties['dbHost']}" />
28
        <property name="url" value="#{systemProperties['dbHost']}" />
Line 105... Line 109...
105
 
109
 
106
    <!-- scan for mappers and let them be autowired -->
110
    <!-- scan for mappers and let them be autowired -->
107
    <bean class="org.mybatis.spring.mapper.MapperScannerConfigurer">
111
    <bean class="org.mybatis.spring.mapper.MapperScannerConfigurer">
108
        <property name="basePackage" value="in.shop2020.warehouse.persistence" />
112
        <property name="basePackage" value="in.shop2020.warehouse.persistence" />
109
    </bean>
113
    </bean>
-
 
114
    
-
 
115
    
110
</beans>
116
</beans>