|
|
Sponsor |
Fix getXXX methods when used with CHAR columns or columns with decimals: msg#00062db.postgresql.jdbc
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
---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Allow setObject(x,y,Types.BIT) if y is a Number & getObject() on bit columns, Kim Ho |
|---|---|
| Next by Date: | ToBoolean method return correct Boolean values as per JDBC spec, Kim Ho |
| Previous by Thread: | Allow setObject(x,y,Types.BIT) if y is a Number & getObject() on bit columns, Kim Ho |
| Next by Thread: | Re: Fix getXXX methods when used with CHAR columns or, Dave Cramer |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home | sitemap
| advertise | OSDir is
an inevitable website.
|