if (securityProfileId == null || this.cascadeType != null) {// && this.cascadeType.equals(CascadeType.PERSIST)) {
securityProfileId = securityProfileDAO.save(experiment.getSecurityProfile());
}
MapSqlParameterSource params = new MapSqlParameterSource();
params.addValue("alias", experiment.getAlias())
.addValue("accession", experiment.getAccession())
.addValue("description", experiment.getDescription())
.addValue("title", experiment.getTitle())
.addValue("platform_platformId", experiment.getPlatform().getPlatformId())
.addValue("securityProfile_profileId", securityProfileId)