pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dave Cramer <pg@fastcrypt.com>
To: Oliver Jowett <oliver@opencloud.com>
Cc: Sergey A. Sokolov <abac@xtech.ru>
Cc: Roland Walter <rwa@mosaic-ag.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: BIGINT <-> java.lang.String auto cast
Date: Thu, 26 May 2005 07:44:30 -0400
Message-ID: <4295B69E.1070308@fastcrypt.com> (raw)
In-Reply-To: <42955CC9.6040306@opencloud.com>
References: <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAABJc9hR3hbE6zRuQKvBNvsIKAAAAQAAAA0LbZy9jzwkqkZHEP9P+p2wEAAAAA@xtech.ru>
	<4294BAAE.4080106@fastcrypt.com>
	<42955CC9.6040306@opencloud.com>

Oliver,

As far as I know it doesn't handle things like setObject( n, Date,  
Types.int )

I think most of the conversions are being handled by the server.

Dave

Oliver Jowett wrote:

>Dave Cramer wrote:
>  
>
>>I have a patch that I haven't applied yet, but can that will allow you
>>to use setObject(n, obj,sqltype) and it will convert obj to the sqltype
>>requested as per the spec.
>>    
>>
>
>Err the current driver already did this, I thought?
>
>-O
>
>---------------------------(end of broadcast)---------------------------
>TIP 3: if posting/reading through Usenet, please send an appropriate
>      subscribe-nomail command to majordomo@postgresql.org so that your
>      message can get through to the mailing list cleanly
>
>
>  
>

-- 
Dave Cramer
http://www.postgresintl.com
519 939 0336
ICQ#14675561




view thread (14+ messages)  latest in thread

Message-ID: <4295B69E.1070308@fastcrypt.com>
Permalink:  ../4295B69E.1070308@fastcrypt.com/
Also on:    postgresql.org/message-id/4295B69E.1070308@fastcrypt.com

 · 

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: pg@fastcrypt.com, oliver@opencloud.com, abac@xtech.ru, rwa@mosaic-ag.com
  Subject: Re: BIGINT <-> java.lang.String auto cast
  In-Reply-To: <4295B69E.1070308@fastcrypt.com>
  References: <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAABJc9hR3hbE6zRuQKvBNvsIKAAAAQAAAA0LbZy9jzwkqkZHEP9P+p2wEAAAAA@xtech.ru> <4294BAAE.4080106@fastcrypt.com> <42955CC9.6040306@opencloud.com> <4295B69E.1070308@fastcrypt.com>

* 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