Package io.mats3.test

Class TestH2DataSource

java.lang.Object
io.mats3.test.TestH2DataSource
All Implemented Interfaces:
Wrapper, CommonDataSource, ConnectionPoolDataSource, DataSource, XADataSource

public class TestH2DataSource extends Object implements XADataSource, DataSource, ConnectionPoolDataSource
A wrapped H2 DataBase DataSource which has a couple of extra methods which simplifies testing, in particular the cleanDatabase(), and createDataTable() method with associated convenience methods for storing and getting simple values.