assertEquals(TestBean.class.getName(), ex.getPersistentClassName());
assertEquals("id", ex.getIdentifier());
assertEquals(uoex, ex.getCause());
}
final ObjectNotFoundException onfe = new ObjectNotFoundException("id", TestBean.class.getName());
try {
hibernateTemplate.execute(new HibernateCallback<Object>() {
@Override
public Object doInHibernate(org.hibernate.Session session) throws HibernateException {
throw onfe;