Return-Path: X-Original-To: apmail-db-torque-dev-archive@www.apache.org Delivered-To: apmail-db-torque-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 6EE13CEB9 for ; Mon, 7 May 2012 14:59:01 +0000 (UTC) Received: (qmail 24646 invoked by uid 500); 7 May 2012 14:59:01 -0000 Delivered-To: apmail-db-torque-dev-archive@db.apache.org Received: (qmail 24627 invoked by uid 500); 7 May 2012 14:59:01 -0000 Mailing-List: contact torque-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Apache Torque Developers List" Reply-To: "Apache Torque Developers List" Delivered-To: mailing list torque-dev@db.apache.org Received: (qmail 24619 invoked by uid 99); 7 May 2012 14:59:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 May 2012 14:59:01 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [212.227.126.171] (HELO moutng.kundenserver.de) (212.227.126.171) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 May 2012 14:58:53 +0000 Received: from [192.168.1.241] ([94.99.11.235]) by mrelayeu.kundenserver.de (node=mrbap1) with ESMTP (Nemesis) id 0MQM9c-1SbDaG0qJ2-00TqGC; Mon, 07 May 2012 16:58:32 +0200 Message-ID: <4FA7E31F.5010709@apache.org> Date: Mon, 07 May 2012 16:58:39 +0200 From: Thomas Vandahl User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: Apache Torque Developers List Subject: Re: custom sql types in Torque 4 References: <4FA52E5E.8000007@apache.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:OF1R3XfpRmpDOMQSwmFgSZnqzd9XjIVaJ7bmNM7QqY6 v8N28Kzk+PTGK8o6DVtXxYx8EXbp3Q5V+1dtTwMTSGiCMyDdNl ZMgPmH/XDn3aMv2J+njsZeYG+m9cKNf36S98sJXMD1zSEW7VDP bx0t+TMSAzW7lVP91ohfenEV9V0PiXzNyUoM0coXqa15dJbfMd U9I0mBBRi7ohp49E3EwySg1XmaCjbMQY+C+kJNDX7SyfpoKI2Q 2+EWFfRQN6ULg8/99Qa+IJtfF//NbAAT1ZZRxqHbLRup3ztjgH eh7C9TtOjwrMnHMTAzdKzl8s1P+8wDoO/4rIerGXixSat8PXrX oF7cShmnHnSznSpJwTs8= X-Virus-Checked: Checked by ClamAV on apache.org Am 07.05.2012 10:41, schrieb Thomas Fox: > The question is what to do if our correct mapping is not the mapping the > user wants.... Well, then, we could be in trouble when trying to get the data from JDBC. The one thing I always liked about Torque is that it makes it difficult to shoot yourself in the foot. This proposed method is IMO a way to make that shooting easier. Would it be a solution to simply use a one-to-one mapping everywhere? So that TIMESTAMP creates TIMESTAMP and not DATETIME? Bye, Thomas. --------------------------------------------------------------------- To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org For additional commands, e-mail: torque-dev-help@db.apache.org