public void attachDirty(Problem instance) {
		log.debug("attaching dirty Problem instance");
		try {
			Session session = getSession();
			Transaction tr = session.beginTransaction();
			session.saveOrUpdate(instance);
			tr.commit();
			session.flush();
			session.close();		
			log.debug("attach successful");
		} catch (RuntimeException re) {
			log.error("attach failed", re);
			throw re;
		}
	}