Package beans.laboratory

Examples of beans.laboratory.Laboratory


                    ", IN (a.checkupTypes) as ch WHERE ch.id = :checkupType";
            Query query = manager.createQuery(sql);
            query.setParameter("checkupType", checkupType.getId());
            Iterator i = query.getResultList().iterator();
            while(i.hasNext()) {
                Laboratory lab = (Laboratory) i.next();
                lab.getCheckupTypes().remove(checkupType);
                manager.merge(lab);
            }
        } catch (Exception ex) {
            throw new ClipsServerException("Попытка удаления лабораторий не удалась: ", ex);
        }
View Full Code Here

TOP

Related Classes of beans.laboratory.Laboratory

Copyright © 2018 www.massapicom. 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.