int fI = Integer.parseInt(f.toString());
if (fI > 0) {
Foraj foraj = forajDao.getForajByID(fI);
strat.setForaj(foraj);
IStratDao stratDao = new StratDao();
stratDao.saveOrUpdate(strat);
}
}
} catch (NumberFormatException nfe) {
System.out.println("NumberFormatException: " + nfe.getMessage());