List:General Discussion« Previous MessageNext Message »
From:Ronan Lucio Date:November 14 2008 4:53pm
Subject:JDBC Compatibility
View as plain text  
Hi,

Suppose a simple query:

SELECT
    client_name as name
FROM
    clients
WHERE
    client_id = $client_id


Using JDBC 5.0.8 it returns column name as "name", that it's the 
expected for me.
Using JDBC 5.1.7 it returns column name as "client_name", although I 
have asked for an alias.

Is it right?
I can't change the queries of my whole application to be compliant with 
JDBC 5.1.7.
It's thousands+ queries.

Thank you,
Ronan
Thread
JDBC CompatibilityRonan Lucio14 Nov