Advertisement
pegasus974

applicationContext.xml

Jun 9th, 2016
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.23 KB | None | 0 0
  1. <?xml version='1.0' encoding='UTF-8' ?>
  2. <!-- was: <?xml version="1.0" encoding="UTF-8"?> -->
  3. <beans xmlns="http://www.springframework.org/schema/beans"
  4.       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  5.       xmlns:p="http://www.springframework.org/schema/p"
  6.       xmlns:aop="http://www.springframework.org/schema/aop"
  7.       xmlns:tx="http://www.springframework.org/schema/tx"
  8.       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
  9.       http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-4.0.xsd
  10.       http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.0.xsd">
  11.  
  12.     <!--bean id="propertyConfigurer"
  13.          class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"
  14.          p:location="/WEB-INF/jdbc.properties" />
  15.  
  16. <bean id="dataSource"
  17.    class="org.springframework.jdbc.datasource.DriverManagerDataSource"
  18.    p:driverClassName="${jdbc.driverClassName}"
  19.    p:url="${jdbc.url}"
  20.    p:username="${jdbc.username}"
  21.    p:password="${jdbc.password}" /-->
  22.  
  23.     <!-- ADD PERSISTENCE SUPPORT HERE (jpa, hibernate, etc) -->
  24.  
  25. </beans>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement