Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 54799 invoked from network); 4 Nov 2005 16:07:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Nov 2005 16:07:03 -0000 Received: (qmail 21585 invoked by uid 500); 4 Nov 2005 16:06:49 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 21549 invoked by uid 500); 4 Nov 2005 16:06:49 -0000 Mailing-List: contact user-java-help@ibatis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user-java@ibatis.apache.org Delivered-To: mailing list user-java@ibatis.apache.org Received: (qmail 21527 invoked by uid 99); 4 Nov 2005 16:06:49 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Nov 2005 08:06:49 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [83.247.21.91] (HELO wis.nl) (83.247.21.91) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Nov 2005 08:06:43 -0800 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Use isNull (in sqlMap) with a Long value? X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Date: Fri, 4 Nov 2005 17:05:41 +0100 Message-ID: <50CA25BD6EEA954FA592C097399942E303F3608E@CM1.wis.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Use isNull (in sqlMap) with a Long value? thread-index: AcXhWWZ5Vf3zL/OLTMa6z/yiE2H55wAACLSQ From: "Niels Beekman" To: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I think you can leave out the property-attribute. Niels -----Original Message----- From: Steven Pannell [mailto:steven.pannell@zooplus.com]=20 Sent: vrijdag 4 november 2005 17:05 To: user-java@ibatis.apache.org Subject: Use isNull (in sqlMap) with a Long value? Hi, I want to make use of the isNull option in the sqlMap using a Long as the parameter class like this: UPDATE log SET new =3D=20 10 1000 where ID =3D #value# =09 But it does not work as I get the error java.lang.Long does not contain a method value. Anyone know how I can get this working? thanks, Steve