Fix getXXX methods when used with CHAR columns or columns with decimals
От
Kim Ho
Тема
Fix getXXX methods when used with CHAR columns or columns with
decimals
Дата
Msg-id
1055958280.13891.40.camel@topanga.toronto.redhat.com
Список
Дерево обсуждения
Fix getXXX methods when used with CHAR columns or columns with
decimals Kim Ho <kho@redhat.com>
Re: Fix getXXX methods when used with CHAR columns or Dave Cramer <Dave@micro-automation.net>
Problem: - Error parsing input in getByte() and getShort() if input has a decimal or whitespace (from CHAR columns) - Error parsing CHAR columns in other getXXX methods. Fix: - Added trim() to getXXX methods - In getByte() and getShort(), check the field type and take out the decimal and everything after it. Also check for CHAR and trim if necessary. Cheers, Kim
В списке pgsql-jdbc по дате отправления
От: Kim Ho
Дата: