From: Xavier Poinsard <xpoinsard@openpricer.com>
To: Christian Cryder <c.s.cryder@gmail.com>
Cc: pgsql-jdbc@postgresql.org <pgsql-jdbc@postgresql.org>
Subject: Re: smallint mapping issue
Date: Thu, 28 Jul 2005 18:40:41 +0200
Message-ID: <42E90A89.3040501@openpricer.com> (raw)
In-Reply-To: <90876a9e0507280905219fca0c@mail.gmail.com>
References: <90876a9e0507271221246714ac@mail.gmail.com>
<42E80EF4.6000505@opencloud.com>
<90876a9e0507280905219fca0c@mail.gmail.com>
Christian Cryder a écrit :
> We are in the midst of trying to move to Postgres from MS SQL. Our
> current app consists of about 7500 lines of code (this doesn't count
> our custom OR mapping middleware). We have over 2500 references to
> Short's - because that's how NetDirect's MS SQL drivers return
> smallints. It's also how MySQL returns them, and I _think_ IBM's DB2
> returns them that way as well (I just uninstalled my demo version of
> DB2, so I can't easily verify).
> [...]
> b) where it really complicates things is that our current application
> is running in production on a db that returns values differently. Now,
> it's easy to say "tell them to fix their drivers", but realistically,
> that's not an option w/ MS (and I think you guys know this).
Did you try the jTDS driver for Sql server (
http://jtds.sourceforge.net/ ) ?
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: xpoinsard@openpricer.com, c.s.cryder@gmail.com
Subject: Re: smallint mapping issue
In-Reply-To: <42E90A89.3040501@openpricer.com>
References: <90876a9e0507271221246714ac@mail.gmail.com> <42E80EF4.6000505@opencloud.com> <90876a9e0507280905219fca0c@mail.gmail.com> <42E90A89.3040501@openpricer.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