Getting the real column name. - Mailing list pgsql-jdbc

From marian
Subject Getting the real column name.
Date
Msg-id 3E995184.7070100@mail.jozep.com.au
Whole thread Raw
Responses Re: Getting the real column name.
List pgsql-jdbc
Hi,

I am trying to get the real column name from a table while using a
'SELECT name AS "New Name" FROM stuff' type query.
I want to be able to recover the real name but getCatalogName returns a
null string and getColumnName returns the same as getColumnLabel.

What is the best way to do this or should I just build a static hash map
thingy.


pgsql-jdbc by date:

Previous
From: Nic Ferrier
Date:
Subject: Re: patch for cursor based querys in JDBC
Next
From: Tom Lane
Date:
Subject: Re: