Advertisement
Guest User

Untitled

a guest
Jul 24th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.03 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:context="http://www.springframework.org/schema/context"
  5.       xmlns:jdbc="http://www.springframework.org/schema/jdbc"
  6.       xsi:schemaLocation="http://www.springframework.org/schema/beans
  7.       http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
  8.       http://www.springframework.org/schema/context
  9.       http://www.springframework.org/schema/context/spring-context-3.1.xsd
  10.       http://www.springframework.org/schema/jdbc
  11.       http://www.springframework.org/schema/jdbc/spring-jdbc-3.1.xsd">
  12.  
  13.     <context:component-scan base-package="fr.ippon.training.spring"/>
  14.    
  15.     <import resource="applicationContext-service.xml" />
  16.    
  17.     <import resource="applicationContext-infrastructure.xml" />
  18.    
  19.     <jdbc:embedded-database id="dataSource" type="H2">
  20.         <jdbc:script location="classpath:database_init.sql"/>
  21.     </jdbc:embedded-database>
  22. </beans>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement