Thank you for reply!
My code is so simple...I really think that the solution is a matter of configuration...
Anyway, here it is (from my HibernateDataAccessObject class which extends HibernateDaoSupport)
Code:
public Object get(Class clazz, Serializable id) throws CoreException {
Object o = null;
try {
o = getHibernateTemplate().get(clazz, id);
} catch (DataAccessException dae) {
dae.printStackTrace();
DAOException daoe = new DAOException();
daoe.setErrorCode(DAOException.ERROR_CODE_GENERAL_FAILURE);
throw daoe;
}
return o;
}