Package dao

Examples of dao.ForajDao.saveOrUpdate()


            try {
                int amplasamentID = Integer.parseInt(amplasamentFilter);
                Amplasament amplasament = amplasamentDao.getAmplasamentByID(amplasamentID);
                foraj.setAmplasament(amplasament);
                IForajDao forajDao = new ForajDao();
                forajDao.saveOrUpdate(foraj);
                setIdAmplasamentCurent(amplasamentID);
                getContext().getRequest().getSession(true).setAttribute("idAmplasamentCurent", amplasamentID);
            } catch (NumberFormatException nfe) {
                System.out.println("NumberFormatException: " + nfe.getMessage());
                return new ForwardResolution("/WEB-INF/jsp/adaugaForaj.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.