Package org.simplecart.base

Examples of org.simplecart.base.Persistent


     * @param id
     * @param lock
     */
    public Persistent abstractFindById(Long id, boolean lock) throws HibernateException {
        Session session = HibernateUtility.getSession();
        Persistent object = null;
        try {
            if (lock) {
                object = (Persistent) session.load(DAOClassType, id, LockMode.UPGRADE);
            } else {
                object = (Persistent) session.load(DAOClassType, id);
View Full Code Here

TOP

Related Classes of org.simplecart.base.Persistent

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.