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