Received: from maia.hub.org (unknown [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id C8BDC133729E for ; Sat, 23 Oct 2010 03:24:15 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 89461-06 for ; Sat, 23 Oct 2010 06:24:08 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail63.csoft.net (mail63.csoft.net [205.205.214.4]) by mail.postgresql.org (Postfix) with ESMTP id C2E97133740B for ; Sat, 23 Oct 2010 03:24:07 -0300 (ADT) Received: from mail63.csoft.net (localhost [127.0.0.1]) by mail63.csoft.net (Postfix) with ESMTP id 591192843B; Sat, 23 Oct 2010 02:24:06 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=csoft.net; h=date:from:to :cc:subject:in-reply-to:message-id:references:mime-version :content-type; s=sel1; bh=/vhvSbVhQsmbDBT8oTPGs8G5Jg0=; b=xlD6hb VR9aHkHzO3Q9iY42ejvxY2Vzt/48WgLrHMlou2IPE3X4lTPLRrNnCOy3kTmysBwY 9CGLDIrWzpgOdYk7XkDVEqqQmgfuCMOsRlpsn2NCoiNYGxUpZQIRukkFmz8aQE9e bvK54L3TtEFTYrkMEOMylAUf2+B/BObB92hAU= Received: from leary.csoft.net (leary.csoft.net [205.205.214.5]) by mail63.csoft.net (Postfix) with ESMTP id 437B228436; Sat, 23 Oct 2010 02:24:06 -0400 (EDT) Received: by leary.csoft.net (Postfix, from userid 1112) id 06DFDA860; Sat, 23 Oct 2010 02:24:05 -0400 (EDT) Date: Sat, 23 Oct 2010 02:24:05 -0400 (EDT) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Craig Ringer cc: Michael musset , pgsql-jdbc@postgresql.org Subject: Re: JDBC4 with SQLXML and postgresql-8.4-702.jdbc4.jar In-Reply-To: <4CC25FF7.7000308@postnewspapers.com.au> Message-ID: References: <4CBFF96E.1040800@ejurka.com> <4CC25FF7.7000308@postnewspapers.com.au> User-Agent: Alpine 2.00 (BSO 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201010/142 X-Sequence-Number: 21110 On Sat, 23 Oct 2010, Craig Ringer wrote: > You need to use updateObject("DATA", java.sql.Types.SQLXML) so the JDBC > driver knows what type to specify. > That's not the API for update object. There isn't a type parameter, the variant with a third int parameter is a scale for numeric data. Kris Jurka