Advertisement
Guest User

Untitled

a guest
Aug 28th, 2016
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.79 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.       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
  5.  
  6.     <bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource">
  7.         <property name="driverClassName" value="org.postgresql.Driver"/>
  8.         <property name="url" value="jdbc:postgresql://localhost:5432/users"/>
  9.         <property name="username" value="postgres"/>
  10.         <property name="password" value="jlbyghjwtyn"/>
  11.     </bean>
  12.  
  13.     <bean id="usersDao" class="dao.UsersDaoJDBCImpl">
  14.         <property name="dataSource" ref="dataSource"/>
  15.     </bean>
  16.  
  17. </beans>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement