preparedStatement.executeUpdate();
if (storeChildren) {
List childList = account.getAccountList();
Account childAccount = null;
DAO dao = daoFactory.getDAO("account");
for (int i=0; i<childList.size(); i++) {
childAccount = (Account)childList.get(i);
dao.store(childAccount,true);
}
}
}
catch (Exception ex) {