Return-Path: X-Original-To: apmail-ofbiz-user-archive@www.apache.org Delivered-To: apmail-ofbiz-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B2124EA49 for ; Fri, 11 Jan 2013 05:42:16 +0000 (UTC) Received: (qmail 40301 invoked by uid 500); 11 Jan 2013 05:42:16 -0000 Delivered-To: apmail-ofbiz-user-archive@ofbiz.apache.org Received: (qmail 40132 invoked by uid 500); 11 Jan 2013 05:42:15 -0000 Mailing-List: contact user-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ofbiz.apache.org Delivered-To: mailing list user@ofbiz.apache.org Received: (qmail 39746 invoked by uid 99); 11 Jan 2013 05:42:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jan 2013 05:42:12 +0000 X-ASF-Spam-Status: No, hits=1.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of tore@skynet.be does not designate 212.71.1.211 as permitted sender) Received: from [212.71.1.211] (HELO relaygateway02.edpnet.net) (212.71.1.211) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jan 2013 05:42:06 +0000 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApMBANWk71DV25IW/2dsb2JhbAANN74OgxEBAQEEOEARCxIGCRYPCQMCAQIBNw4TBgIBAResMpBRjHcGeYMpA5YKkz+BZgg X-IronPort-AV: E=Sophos;i="4.84,449,1355094000"; d="scan'208";a="134394345" Received: from 213.219.146.22.adsl.dyn.edpnet.net (HELO [10.10.50.100]) ([213.219.146.22]) by relaygateway02.edpnet.net with ESMTP; 11 Jan 2013 06:41:44 +0100 Message-ID: <50EFA61C.5080502@skynet.be> Date: Fri, 11 Jan 2013 06:41:48 +0100 From: "tore@skynet.be" User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: user@ofbiz.apache.org Subject: Re: How to store image in database? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Maybe off topic. But it general it is considered a bad idea to store an image in a database. (several reasons, e.g. performance) Normally one only stores the url of the image in the database. Kind regards Tore On 10/01/13 10:42, Winster Jose wrote: > Hi, > > Is there any way to store an image in database? I have a multi tenant > envrionment and application logo should be a user/tenant uploaded image. > > In OFBiz, I could see only a file managed storage system for images. Is > that true? > > > Thanks > Winster T Jose > Director - Technology and Architecture > Chathurangam Creative Solutions Private Ltd. > Cell: +91-98469 31020 > Mail: winster@chathurangam.net >