});
return result.getValue();
}
public boolean execute(final String sql, final int autoGeneratedKeys) throws SQLException {
final BooleanData result = new BooleanData();
useRealStatement(new StatementWorker() {
public void doWork(PreparedStatement ps) throws SQLException {
result.setValue(ps.execute(sql, autoGeneratedKeys));
// Now get the results sets and remember them
populateResults(ps, result.getValue());
}
});
return result.getValue();
}