Return-Path: Delivered-To: apmail-cayenne-user-archive@www.apache.org Received: (qmail 31185 invoked from network); 26 Nov 2007 12:43:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Nov 2007 12:43:34 -0000 Received: (qmail 47870 invoked by uid 500); 26 Nov 2007 12:43:22 -0000 Delivered-To: apmail-cayenne-user-archive@cayenne.apache.org Received: (qmail 47861 invoked by uid 500); 26 Nov 2007 12:43:22 -0000 Mailing-List: contact user-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cayenne.apache.org Delivered-To: mailing list user@cayenne.apache.org Received: (qmail 47851 invoked by uid 99); 26 Nov 2007 12:43:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Nov 2007 04:43:22 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [208.78.103.231] (HELO vorsha.objectstyle.org) (208.78.103.231) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 26 Nov 2007 12:43:23 +0000 Received: (qmail 18777 invoked from network); 26 Nov 2007 12:42:01 -0000 Received: from unknown (HELO localhost) (127.0.0.1) by localhost with SMTP; 26 Nov 2007 12:42:01 -0000 Message-Id: From: Andrus Adamchik To: user@cayenne.apache.org In-Reply-To: <9cc55f600711221739y75045647p37205f0f131621f1@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Subject: Re: ExtendedType and IN operator Date: Mon, 26 Nov 2007 14:42:00 +0200 References: <9cc55f600711221739y75045647p37205f0f131621f1@mail.gmail.com> X-Mailer: Apple Mail (2.915) X-Virus-Checked: Checked by ClamAV on apache.org Chris, I vaguely remember this being a problem in the past and us fixing it... I couldn't find any references via Google (having "IN" as a keyword doesn't help). So could you post the code that builds the query and the exact Cayenne version. Thanks Andrus On Nov 23, 2007, at 3:39 AM, Chris Gamache wrote: > I'm using Cayenne2 and PostgreSQL. > > For any single R-value in a where clause, my ExtendedType is working > wonderfully. But! If I create an expression which uses the operator > IN, my ExtendedType doesn't seem to get called. In the query logger > everything looks okay, but pgjdbc complains in the same way that it > would if there were no exended type. That leads me to believe either > that Cayenne is ignoring ExtendedTypes when it does the JDBC binding > for the R-value list, or that I've left out a detail in my > ExtendedType class which is the culprit. I can post my ExtendedType > code and some code that misbehaves. Will that suffice, or would you > need more? > > CG >