Class clazz = UtilMethods.getVersionInfoType(ident.getAssetType());
HibernateUtil dh = new HibernateUtil(clazz);
dh.setQuery("from "+clazz.getName()+" where identifier=?");
dh.setParam(identifier);
Logger.debug(this.getClass(), "getVersionInfo query: "+dh.getQuery());
vi=(VersionInfo)dh.load();
if(!UtilMethods.isSet(vi.getIdentifier())) {
vi.setIdentifier(identifier);
vi.setWorkingInode("NOTFOUND");
}
icache.addVersionInfoToCache(vi);