//Delete all sub-customers_
String sql = "UPDATE HierarchyCustomer a SET a.deleted=true WHERE a.parentCustomer.id="+this.getQueryLong(customer.getId());
try {
this.executeUpdate(manager, sql);
} catch (Exception e) {
throw new EJbsObject(EJbsObject.ET_UNKNOWN);
}
}