Advertisement
Guest User

aaaaaaaaaa

a guest
Jun 28th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. <beans xmlns="http://www.springframework.org/schema/beans"
  2. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://www.springframework.org/schema/beans
  4. http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
  5.  
  6. <!-- <bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
  7. <property name="location"> <value>properties/database.properties</value>
  8. </property> </bean> -->
  9.  
  10. <bean id="dataSource"
  11. class="org.springframework.jdbc.datasource.DriverManagerDataSource">
  12. <property name="driverClassName" value="com.mysql.jdbc.Driver" />
  13. <property name="url" value="jdbc:mysql://localhost:3306/festivaldb" />
  14. <property name="username" value="root" />
  15. <property name="password" value="root" />
  16. </bean>
  17.  
  18. </beans>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement