urce.firefly-example.5.0.0-dev5.source-code.datasource.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.fireflysource.com/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.fireflysource.com/beans http://www.fireflysource.com/beans.xsd"> <bean id="dataSource" class="com.zaxxer.hikari.HikariDataSource"> <property name="jdbcUrl" value="jdbc:h2:mem:coffee_store"/> <property name="driverClassName" value="org.h2.Driver"/> <property name="isAutoCommit" value="false"/> </bean> <bean id="jdbcClient" class="com.firefly.db.jdbc.JDBCClient" destroy-method="stop"> <constructor> <argument type="javax.sql.DataSource" ref="dataSource"/> </constructor> </bean> </beans>