Package dao

Examples of dao.ProbaDao.saveOrUpdate()


        //update la proba pt parametrii md si rs

        proba.setA(Float.parseFloat(getaInput()));
        proba.setB(Float.parseFloat(getbInput()));
        probaDao.saveOrUpdate(proba);


        medSedimentarii = new MetodaSedimentarii();
        //se modifica pt a afisa in pagina, noile valori introduse
        CitiriAreometru citiriAreometruDinBD = citiriAreometruDao.getCitiriAreometruByIDProba(proba.getIdProba());
View Full Code Here


        proba.setArgila(argila);
        proba.setPraf(praf);
        proba.setNisip(nisip);
        proba.setPietris(pietris);
        proba.setBolovanis(bolovanis);
        probaDao.saveOrUpdate(proba);
        getContext().getRequest().getSession(true).setAttribute("rezultate", rezultate);
        return new ForwardResolution("/WEB-INF/jsp/rezultate.jsp");
    }

    private List<Float> formulaRezultateCol2(List<Float> dateIn1, List<Float> dateIn2) {
View Full Code Here

        }
        //update la proba pt parametrii md si rs

        proba.setMd(Float.parseFloat(getMdInput()));
        proba.setRs(Float.parseFloat(getRsInput()));
        probaDao.saveOrUpdate(proba);


        met_cernerii = new MetodaCernerii();
        //se modifica pt a afisa in pagina, noile valori introduse
        MetCernerii metCerneriiDinBd = metCerneriiDao.getMetCerneriiByIDProba(proba.getIdProba());
View Full Code Here

                    int fI = Integer.parseInt(f.toString());
                    if (fI > 0) {
                        Foraj foraj = forajDao.getForajByID(fI);
                        proba.setForaj(foraj);
                        IProbaDao probaDao = new ProbaDao();
                        probaDao.saveOrUpdate(proba);
                    }
                }
            } catch (NumberFormatException nfe) {
                System.out.println("NumberFormatException: " + nfe.getMessage());
                return new ForwardResolution("/WEB-INF/jsp/adaugaProba.jsp");
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.