session.save(myMonster);
tx.commit();
myHandler.debugInfo(".. added to the database with id: "+myMonster.getId());
}
tx = session.beginTransaction();
KilledMonster myKill = new KilledMonster();
myKill.setMonster(myMonster);
myKill.setExpWorth(new Integer(expGained));
// TODO: Somehow add a default timestamp to this field
myKill.setKilledAt(new Timestamp((new Date()).getTime()));
session.save(myKill);
tx.commit();
session.close();
}