Package com.dotmarketing.common.db

Examples of com.dotmarketing.common.db.DotConnect.addObject()


      inode = contentlet.get("inode");
      identifier = contentlet.get("identifier");
      try {
          dc.setSQL("Update contentlet set identifier =? where inode=?");
          dc.addParam(identifier);
          dc.addObject(inode);
          dc.loadResult();
      } catch(Exception ex) {
          Logger.warn(this,"can't update identifier "+identifier+" on contentlet "+inode+" maybe is orphan");
      }
    }
View Full Code Here


      inode = links.get("inode");
      identifier = links.get("identifier");
      try {
          dc.setSQL("Update links set identifier =? where inode=?");
          dc.addParam(identifier);
          dc.addObject(inode);
          dc.loadResult();
      } catch(Exception ex) {
          Logger.warn(this,"can't update identifier "+identifier+" on link "+inode+" maybe is orphan");
      }
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.