final Collection<CertificateProfileData> result = CertificateProfileData.findAll(entityManager);
final Iterator<CertificateProfileData> iter = result.iterator();
while(iter.hasNext()) {
final CertificateProfileData pdata = iter.next();
final String name = pdata.getCertificateProfileName();
pdata.upgradeProfile();
final float version = pdata.getCertificateProfile().getVersion();
if (LOG.isDebugEnabled()) {
LOG.debug("Loaded certificate profile: "+name+" with version "+version);
}
}