LOG.info("Creating new JdbcIndexEngine with driver {}", driver.getClass());
TypeMap typeMap = driver.getTypeMap();
DataSource dataSource = driver.getDataSource();
TableEngine headTableEngine = new HeadTableEngine(dataSource, typeMap);
TableEngine historyTableEngine = new HistoryTableEngine(dataSource, typeMap);
SchemaMapper schemaMapper = new DefaultSchemaMapper(headTableEngine, historyTableEngine);
return new JdbcIndexEngine(dataSource, schemaMapper);
}