try {
for (int i=0; i<transSplitList.size(); i++) {
currentTransSplit = (TransSplit)transSplitList.get(i);
//System.out.println("Split: " + currentTransSplit.getTransSplitID());
where = "where TRANS_SPLIT_ID = '" + currentTransSplit.getTransSplitID() + "'";
if (transSplitDAO.load(where, null, true).size() == 0)
transSplitDAO.create(currentTransSplit, false);
else
transSplitDAO.update(currentTransSplit, false);
}
}