Package easyJ.database.dao.command

Examples of easyJ.database.dao.command.DeleteCommand


                .getPrimaryKeyName(oclass)));
        ExecuteSQL.executeUpdate(sql, paramValueList, conn);
    }

    public void deleteBatch(Object o, Connection conn) throws EasyJException {
        DeleteCommand dcmd = DAOFactory.getDeleteCommand(o);
        Filter filter = DAOFactory.getFilter();
        filter.setAccurateProperties(accurateProperties);
        filter = filter.buildFilter(o,false);
        dcmd.setFilter(filter);
        dcmd.execute(conn);
        accurateProperties = null;
    }
View Full Code Here

TOP

Related Classes of easyJ.database.dao.command.DeleteCommand

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.