conn = ds.getConnection();
sql = conn.createStatement();
sql.executeUpdate("create table users (username varchar(20), password varchar(20))");
Sha256Hash sha256Hash = salted ? new Sha256Hash(plainTextPassword, salt) :
new Sha256Hash(plainTextPassword);
String password = sha256Hash.toHex();
sql.executeUpdate("insert into users values ('" + username + "', '" + password + "')");
} catch (SQLException ex) {
Assert.fail("Exception creating test database");
} finally {
JdbcUtils.closeStatement(sql);