public static final void executeUpdate(String query)
        throws SmartObjectException {
  try {
    Connection con = ds.getConnection();
    Statement s = con.createStatement();
    s.executeUpdate(query);
    closeAll(null, s, con);
  }
  catch (SQLException sqle) {
    throw new SmartObjectException("Store failed.", sqle);
  }
}