System.out.println(name + " " + amount + " " + dateFormat.format(datePosted.getTime()));
Transaction trans = null;
DAOFactory factory = new DAOFactory();
try {
factory.beginTransaction();
// Look for fitID
if (this.fitID != null) {
RegisterDAO registerDAO = (RegisterDAO)factory.getDAO("register");
trans = registerDAO.loadTransactionByFitID(this.fitID);
System.out.println("Transaction found!");