|
|
Choosing A Webhost: |
Re: Allow setObject(x,y,Types.INTEGER) if y is Boolean &: msg#00161db.postgresql.jdbc
Patch applied, thanks, dave On Thu, 2003-06-19 at 16:51, Kim Ho wrote: > Problem: > - Boolean not on list of SQLKeywords (The JDBC CTS seems to think that > it should be) > - setObject(x,y,Types.INTEGER) will throw exceptions if y is a Boolean. > > Fix: > - Added Boolean to Keywords list. > - Added check in setObject() under Types.INTEGER to check if a boolean > is passed. True=1. False=0. Is consistent with the rest of the code. > > Cheers, > > Kim > > ______________________________________________________________________ > > ---------------------------(end of broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to majordomo@xxxxxxxxxxxxxx -- Dave Cramer <Dave@xxxxxxxxxxxxxxxxxxxx> ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Allow setObject(x,y,Types.BIT) if y is a Number &, Dave Cramer |
|---|---|
| Previous by Thread: | Allow setObject(x,y,Types.INTEGER) if y is Boolean & added Boolean to SQL Keywords, Kim Ho |
| Next by Thread: | Add checking in setMaxRows, setQueryTimeout, and setFetchSize, Kim Ho |
| 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 |