// license-header java merge-point /** * This is only generated once! It will never be overwritten. * You can (and have to!) safely modify it by hand. */ package com.agcs.amd2.model.util; /** * @see com.agcs.amd2.model.util.Information */ public class InformationDaoImpl extends com.agcs.amd2.model.util.InformationDaoBase implements com.agcs.amd2.model.util.InformationDao { /** * Retrieve the last version of the database * @param transform * @return * @throws DaoException */ @Override public Object getLastVersion(int transform) throws DaoException { Integer result=(Integer) getEntityManager().createQuery("select max(version) from Information").getSingleResult(); return result; } }