pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: Craig Ringer <craig@postnewspapers.com.au>
Cc: Michael musset <mickamusset@gmail.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: JDBC4 with SQLXML and postgresql-8.4-702.jdbc4.jar
Date: Sat, 23 Oct 2010 02:24:05 -0400 (EDT)
Message-ID: <alpine.BSO.2.00.1010230222160.21634@leary.csoft.net> (raw)
In-Reply-To: <4CC25FF7.7000308@postnewspapers.com.au>
References: <AANLkTikuYNnkRzRDUmJNJMv33E=97exppT44emqZRFFp@mail.gmail.com>
	<AANLkTin9XWGbK-p11oMLazZEbp2OLwX8qf_Yn2Ddx_Fo@mail.gmail.com>
	<alpine.BSO.2.00.1010210418110.30447@leary.csoft.net>
	<AANLkTin7XRgQb3qaU-TpCUDxfE_+xPK+07kUxYyK8=H4@mail.gmail.com>
	<4CBFF96E.1040800@ejurka.com>
	<AANLkTikg5vHvq7sG4J8T7JBYiTdYZMROHgMCKTnDCCV2@mail.gmail.com>
	<4CC25FF7.7000308@postnewspapers.com.au>


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



view thread (11+ messages)  latest in thread

Message-ID: <alpine.BSO.2.00.1010230222160.21634@leary.csoft.net>
Permalink:  ../alpine.BSO.2.00.1010230222160.21634@leary.csoft.net/
Also on:    postgresql.org/message-id/alpine.BSO.2.00.1010230222160.21634@leary.csoft.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: books@ejurka.com, craig@postnewspapers.com.au, mickamusset@gmail.com
  Subject: Re: JDBC4 with SQLXML and postgresql-8.4-702.jdbc4.jar
  In-Reply-To: <alpine.BSO.2.00.1010230222160.21634@leary.csoft.net>
  References: <AANLkTikuYNnkRzRDUmJNJMv33E=97exppT44emqZRFFp@mail.gmail.com> <AANLkTin9XWGbK-p11oMLazZEbp2OLwX8qf_Yn2Ddx_Fo@mail.gmail.com> <alpine.BSO.2.00.1010210418110.30447@leary.csoft.net> <AANLkTin7XRgQb3qaU-TpCUDxfE_+xPK+07kUxYyK8=H4@mail.gmail.com> <4CBFF96E.1040800@ejurka.com> <AANLkTikg5vHvq7sG4J8T7JBYiTdYZMROHgMCKTnDCCV2@mail.gmail.com> <4CC25FF7.7000308@postnewspapers.com.au> <alpine.BSO.2.00.1010230222160.21634@leary.csoft.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox