this.productPropertyCategoryDao = productPropertyCategoryDao;
}
@Transactional
public ProductProperty createProductProperty(Long categoryId, String value) {
ProductProperty property = new ProductProperty();
property.setEnabled(true);
ProductPropertyCategory category = productPropertyCategoryDao.findProductPropertyCategoryById(categoryId);
property.setCategory(category);
property.setValue(value);
getHibernateTemplate().persist(property);
return property;
}