|
|
Sponsor |
null: was is the default returned value?: msg#00224db.postgresql.jdbc
What value does the jdbc driver return from the various getXXX() functions when the DB return value is null? I've been having some trouble using getObject() and getStr() on ResultSets that contain null values for some fields. If I do Object o = r.getObject("col") and the returned value is null I get a nullPointeException. But for String s = r.getStr("col") I get a value that prints out as "null" ... so if getStr() works I don't understand why getObject() doesn't ... Thanks, Jc ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/users-lounge/docs/faq.html
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: new String(byte[]) performance, Aaron Mulder |
|---|---|
| Next by Date: | Trouble connecting, Antonie C Malan |
| Previous by Thread: | Scrollable result sets, Przemyslaw Wegrzyn |
| Next by Thread: | Re: null: was is the default returned value?, Toby |
| 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.
|