* @param key key of the option
* @return The corresponding object
*/
public OptionValue getOptionValueByLabel(String option, String key) {
EntityManager em = emf.createEntityManager();
OptionValue retValue = null;
try {
Query query = em.createNamedQuery("OptionValue.findByLabel");
query.setParameter("name", option);
query.setParameter("label", key);
retValue = (OptionValue) query.getSingleResult();