<?xml version="1.0" encoding="UTF-8"?>
<!-- ############################################################################################################# -->
<!-- DATA_SOURCE_DRIVER: the full qualified class name of the database javax.sql.DataSource driver -->
<!-- DATABASE_URL: the database connection url -->
<!-- USER_NAME: username of the database access account -->
<!-- PASSWORD: password of the database access account -->
<!-- DATA_SOURCE_NAME: the JNDI resource name; often defined by application -->
<!-- -->
<!-- use additional property elements for configuring other databse specific settings -->
<!-- -->
<!-- ############################################################################################################# -->
<!-- -->
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd" >

  <bean id="dataSource" class="org.hsqldb.jdbc.JDBCDataSource">
      <property name="url" value="jdbc:hsqldb:file:///tmp/hsqldb"/>
      <property name="user" value="sa"/>
      <property name="password" value=""/>
  </bean>
  
  <service interface="javax.sql.DataSource" ref="dataSource">
    <service-properties>
            <entry key="osgi.jndi.service.name" value="jdbc/hsqlds"/>
    </service-properties>
  </service>
</blueprint>


