// YieldConventionBean
@Override
public YieldConventionBean getOrCreateYieldConventionBean(final String convention) {
final Query query = getSession().getNamedQuery("YieldConventionBean.one");
query.setString("name", convention);
YieldConventionBean bean = (YieldConventionBean) query.uniqueResult();
if (bean == null) {
bean = persistBean(new YieldConventionBean(convention));
}
return bean;
}