Re: smallint mapping issue

Поиск
Список
Период
Сортировка
От Xavier Poinsard
Тема Re: smallint mapping issue
Дата
Msg-id 42E90A89.3040501@openpricer.com
обсуждение исходный текст
Ответ на Re: smallint mapping issue  (Christian Cryder <c.s.cryder@gmail.com>)
Список pgsql-jdbc
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/ ) ?

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: smallint mapping issue
Следующее
От: Mark Lewis
Дата:
Сообщение: Re: smallint mapping issue