mvnBundle("org.apache.derby", "derby") //
);
}
@Test
public void createDataSourceAndConnection() throws SQLException {
<BUG>assertNotNull(dsf);</BUG>
Properties props = new Properties();
<BUG>props.setProperty(DataSourceFactory.JDBC_URL, "jdbc:derby:memory:pax;create=true");
DataSource dataSource = dsf.createDataSource(props);
assertNotNull(dataSource);
Connection connection = dataSource.getConnection();
assertNotNull(connection);
connection.close();</BUG>
}

mvnBundle("org.apache.derby", "derby") //
);
}
@Test
public void createDataSourceAndConnection() throws SQLException {
Properties props = new Properties();
props.setProperty(DataSourceFactory.JDBC_URL, "jdbc:derby:memory:pax;create=true");
dsf.createDataSource(props).getConnection().close();
