1 <?xml version="1.0" encoding="UTF-8"?>
3 ~ Hibernate, Relational Persistence for Idiomatic Java
5 ~ License: GNU Lesser General Public License (LGPL), version 2.1 or later.
6 ~ See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
10 First install the H2 driver using:
11 > install -s mvn:com.h2database/h2/1.3.163
13 Then copy this file to the deploy folder
15 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
17 <bean id="dataSource" class="org.h2.jdbcx.JdbcDataSource">
18 <property name="URL" value="jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1;MVCC=TRUE"/>
19 <property name="user" value="sa"/>
20 <property name="password" value=""/>
23 <service interface="javax.sql.DataSource" ref="dataSource">
25 <entry key="osgi.jndi.service.name" value="jdbc/h2ds"/>