@Override public TareaBean get(TareaBean oTareaBean, Integer expand) throws Exception { if (oTareaBean.getId() > 0) { try { ResultSet oResultSet = oMysql.getAllSql(strSQL + " And id= " + oTareaBean.getId() + " "); if (oResultSet != null) { while (oResultSet.next()) { oTareaBean = oTareaBean.fill(oResultSet, oConnection, expand); } } } catch (Exception ex) { ExceptionBooster.boost( new Exception(this.getClass().getName() + ":get ERROR: " + ex.getMessage())); } } else { oTareaBean.setId(0); } return oTareaBean; }