Re: Aggregate function: Different results with jdbc and psql

Поиск
Список
Период
Сортировка
От Marc Mamin
Тема Re: Aggregate function: Different results with jdbc and psql
Дата
Msg-id CA896D7906BF224F8A6D74A1B7E54AB3039E8BFB@JENMAIL01.ad.intershop.net
обсуждение исходный текст
Ответ на Re: Aggregate function: Different results with jdbc and psql  (Tilman Rassy <rassy@math.TU-Berlin.DE>)
Список pgsql-jdbc
Can you try modify your SQL to explicitely  set the returned data type:


SELECT worksheet_id, user_id, num_edited, num_corrected, grade::float
FROM user_worksheet_grades
WHERE user_id = 23 AND worksheet_id = 105;


If this doesn't work too, than you can at least exclude a casting issue
...


cheers,

Marc

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

Предыдущее
От: Tilman Rassy
Дата:
Сообщение: Re: Aggregate function: Different results with jdbc and psql
Следующее
От: Tilman Rassy
Дата:
Сообщение: Re: Aggregate function: Different results with jdbc and psql