Package net.caece.pri.hibernate

Examples of net.caece.pri.hibernate.DutyDao


        Duty duty = convert(sub);

//        boolean success = (new File(duty.getModelFileName())).delete();

        DutyDao dao = new DutyDao();

        dao.update(duty);
        dao.delete(duty);

        this.refreshSubListbox(obj);
    }
View Full Code Here


        this.detach();
    }

    public void addSub() {
        Duty var = subviewToForm(null);
        DutyDao dao = new DutyDao();
        dao.create(var);

    }
View Full Code Here

    }

    public void updateSub() {
        Duty var = subviewToForm(dutyForm);
        DutyDao dao = new DutyDao();
        dao.update(var);

    }
View Full Code Here

TOP

Related Classes of net.caece.pri.hibernate.DutyDao

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.