186187188189190191192
* Make data source. * @return Data source for JDBC * @throws SQLException If it fails */ private Connection connection() throws SQLException { return new Driver().connect(this.jdbc, new Properties()); }
515253545556575859
Driver driver; JdbcIndexEngine engine; @Before public void setUp() throws Exception { driver = new Driver(getDataSource()); JdbcIndexEngineFactory factory = new JdbcIndexEngineFactory(driver); engine = factory.create(); }