Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: [JDBC] Is it safe to use 8.0.14 server and 7.4 driver ?

From: Magne Mæhre <Magne.Mahre(at)Sun.COM>
Date: Mon Jan 14 2008 - 04:39:04 EST


Oliver Jowett wrote:

>>     Which one of these behaviors is the right one ? Thanks in advance  !

>
> Both are equally correct, I believe. I think the JDBC spec is silent
> about which column you get back if there is ambiguity.

Actually it says something about this.
"If a select list contains the same column more than once, the first instance of the column will be returned" (JDBC3 §14.2.3 and JDBC4 §15.2.3)

--Magne

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq Received on Mon Jan 14 04:41:10 2008

This archive was generated by hypermail 2.1.8 : Wed Jun 18 2008 - 23:42:41 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library