Spring JPA: removing useless Spring profiles
authorGustavo Martin Morcuende <gu.martinm@gmail.com>
Tue, 12 Jul 2016 01:13:08 +0000 (03:13 +0200)
committerGustavo Martin Morcuende <gu.martinm@gmail.com>
Tue, 12 Jul 2016 01:13:08 +0000 (03:13 +0200)
SpringJava/JPA/src/test/resources/datasource-test-configuration.xml

index 75daa1e..05ca000 100644 (file)
        <!--  \r
     <jdbc:embedded-database id="dataSource" type="H2" />\r
        -->\r
-   <beans profile="default,development,integration,preproduction,production">\r
-        <bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource">\r
-            <property name="driverClassName" value="org.h2.Driver" />\r
-            <property name="url" value="jdbc:h2:mem:mybatis_example;INIT=create schema if not exists mybatis_example\;SET SCHEMA mybatis_example;MODE=DB2;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE" />\r
-            <property name="username" value="mybatis" />\r
-            <property name="password" value="" />\r
-        </bean>\r
-    </beans>\r
+       <bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource">\r
+               <property name="driverClassName" value="org.h2.Driver" />\r
+               <property name="url" value="jdbc:h2:mem:mybatis_example;INIT=create schema if not exists mybatis_example\;SET SCHEMA mybatis_example;MODE=DB2;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE" />\r
+               <property name="username" value="mybatis" />\r
+               <property name="password" value="" />\r
+       </bean>\r
        \r
 </beans>\r