ps.setDouble(1, balance);
ps.setString(2, accountId);
if (!(ps.executeUpdate() > 0)) {
String error = "ejbStore: AccountBean (" + accountId + ") not updated";
log(error);
throw new NoSuchEntityException (error);
}
} catch(SQLException sqe) {
String error = "SQLException: " + sqe.getMessage();
log(error);
throw new EJBException (error);