Switched to maven-thymeleaf-skin 1.0.0
[hibernate-maven-plugin] / src / it / tutorials / osgi / datasource-h2.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 First install the H2 driver using:
4 > install -s mvn:com.h2database/h2/1.3.163
5
6 Then copy this file to the deploy folder
7 -->
8 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
9   
10   <bean id="dataSource" class="org.h2.jdbcx.JdbcDataSource">
11       <property name="URL" value="jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1;MVCC=TRUE"/>
12       <property name="user" value="sa"/>
13       <property name="password" value=""/>
14   </bean>
15   
16   <service interface="javax.sql.DataSource" ref="dataSource">
17     <service-properties>
18             <entry key="osgi.jndi.service.name" value="jdbc/h2ds"/>
19     </service-properties>
20   </service>
21 </blueprint>