log.debug("Cache hit on map for emPCRDilution " + id);
return (emPCRDilution)element.getObjectValue();
}
}
emPCRDilution pcrDilution = dataObjectFactory.getEmPCRDilution();
pcrDilution.setId(id);
pcrDilution.setName(rs.getString("name"));
pcrDilution.setConcentration(rs.getDouble("concentration"));
pcrDilution.setIdentificationBarcode(rs.getString("identificationBarcode"));
pcrDilution.setCreationDate(rs.getDate("creationDate"));
pcrDilution.setDilutionCreator(rs.getString("dilutionUserName"));
//pcrDilution.setLastUpdated(rs.getTimestamp("lastUpdated"));
try {
pcrDilution.setSecurityProfile(securityProfileDAO.get(rs.getLong("securityProfile_profileId")));
if (!isLazy()) {
pcrDilution.setEmPCR(emPcrDAO.get(rs.getLong("emPCR_pcrId")));
}
else {
pcrDilution.setEmPCR(emPcrDAO.lazyGet(rs.getLong("emPCR_pcrId")));
}
}
catch (IOException e1) {
e1.printStackTrace();
}