1 <?xml version="1.0" encoding="UTF-8"?>
3 First install the H2 driver using:
4 > install -s mvn:com.h2database/h2/1.3.163
6 Then copy this file to the deploy folder
8 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
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=""/>
16 <service interface="javax.sql.DataSource" ref="dataSource">
18 <entry key="osgi.jndi.service.name" value="jdbc/h2ds"/>