Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 615C510636 for ; Wed, 12 Jun 2013 22:14:04 +0000 (UTC) Received: (qmail 51773 invoked by uid 500); 12 Jun 2013 22:14:03 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 51737 invoked by uid 500); 12 Jun 2013 22:14:03 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 51729 invoked by uid 99); 12 Jun 2013 22:14:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jun 2013 22:14:03 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of daan.hoogland@gmail.com designates 209.85.223.177 as permitted sender) Received: from [209.85.223.177] (HELO mail-ie0-f177.google.com) (209.85.223.177) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jun 2013 22:13:57 +0000 Received: by mail-ie0-f177.google.com with SMTP id aq17so7045068iec.22 for ; Wed, 12 Jun 2013 15:13:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=oJ70eTiXKNrJ3Tx91Vn9IjN61OhGxRWJbZuIsuutlsQ=; b=JBnd+KMzhL4a8Hv4Kr/D8lB1d+BISDdpxAxb23sQLoBPPrvOPfG4bdq3PFK2JlfTKk qHotsxk/Qohkuwa1ZXfWEzYTxeiiffFPP96DhOc2qxXDxVvyHwmosa2To1kweMKjI/sR EBLaho4pUnuhZIGhVBiRWLoPu/IpFd/xbfH3Qs8C8NwyG/7f3dqJgniz2rTKDbvT+egd 8meCYPfgMw1dstLJcin1+7tqNWWLXQfCHOoE8n/lNIsAyK2eWPBuMmgZH7ifCBew8k4i W1TOc7utkd5OKWk7rjXWwd+0ZJ48yCv3CisD8O22ffsCxrgcA3EQIZVAZvL2hgKyJDh0 YmOA== X-Received: by 10.50.6.51 with SMTP id x19mr4475764igx.78.1371075216546; Wed, 12 Jun 2013 15:13:36 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.252.226 with HTTP; Wed, 12 Jun 2013 15:13:15 -0700 (PDT) From: Daan Hoogland Date: Thu, 13 Jun 2013 00:13:15 +0200 Message-ID: Subject: help on db code wanted To: dev Content-Type: multipart/alternative; boundary=047d7bdc166c3e73c904defc53fd X-Virus-Checked: Checked by ClamAV on apache.org --047d7bdc166c3e73c904defc53fd Content-Type: text/plain; charset=ISO-8859-1 LS, I am trying to remove a double slash from the field install_path in the table template_host_ref. It would seem to me that this can be done by removing it in the VMTemplateHostVO, that gets used by the VMTemplateHostDao to write to the database. I added a fixPath function that I stole from some other class and had it log to see if the expected fixup happened. The log line comes by but the database gets filled with the double slashes anyhow. Is the database filled from another class then the VO/Dao/DaoImpl combination? Many thanks, Daan --047d7bdc166c3e73c904defc53fd--