27282930313233343536
* @return administrator * @param id * @param lock */ public Administrator findById(Long id, boolean lock) throws HibernateException { Administrator administrator = null; administrator = (Administrator) abstractFindById(id, lock); return administrator; }
164165166167168169170171172173174
ActionMessages.GLOBAL_MESSAGE, new ActionMessage("error.database")); return null; } Administrator administrator = null; try { // find stake objects and attach to request administrator = dao.findById(id, false);