Package net.caece.pri.hibernate

Examples of net.caece.pri.hibernate.ParaDao


    }
}

    public void add() {
        Para obj = (Para) viewToObj(null);
        ParaDao dao = new ParaDao();
        add(dao, obj);
    }
View Full Code Here


        add(dao, obj);
    }

    public void update() {
        Para obj = (Para) objListbox.getSelectedItem().getValue();
        ParaDao dao = new ParaDao();
        update(dao, obj);
    }
View Full Code Here

    }

    public void delete() {

        Para obj = (Para) objListbox.getSelectedItem().getValue();
        ParaDao dao = new ParaDao();
        //delete(dao, obj);

        obj = (Para)viewToObj(obj);
        dao.delete(obj);

        refreshObjEntities();
        // empty all fields
        Para emptyObj = new Para();
        objToView(emptyObj);
View Full Code Here

TOP

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

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.