Advertisement
Guest User

Untitled

a guest
Jul 1st, 2016
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <beans xmlns="http://www.springframework.org/schema/beans"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xmlns:beans="http://www.springframework.org/schema/beans"
  5. xmlns:context="http://www.springframework.org/schema/context"
  6. xsi:schemaLocation="http://www.springframework.org/schema/beans
  7. http://www.springframework.org/schema/beans/spring-beans.xsd
  8. http://www.springframework.org/schema/context
  9. http://www.springframework.org/schema/context/spring-context.xsd">>
  10.  
  11. <import resource="beans.xml" />
  12. <import resource="database.xml" />
  13.  
  14.  
  15. <bean id="dataSource"
  16. class="org.springframework.jdbc.datasource.DriverManagerDataSource">
  17. <property name="driverClassName" value="${jdbc.driverClassName}" />
  18. <property name="url" value="${jdbc.url}" />
  19. <property name="username" value="${jdbc.username}" />
  20. <property name="password" value="${jdbc.password}" />
  21. </bean>
  22. <context:property-placeholder location="classpath:application.properties" />
  23. <context:component-scan base-package="org.dta.employeejdbc" />
  24. </beans>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement