I think we're coming at this from different angles. At the bottom I'm
talking about the data pushed out by the DatabaseMetaData methods, not
the values returned by the ResultSetMetaData methods.  Of course the
latter should maintain a clear distinction between column name and
label.

The real question is why DatabaseMetaData is returning results with
different names and labels.  I'm just reporting that if it was an
oversight that it's an unusual one since all of the other databases
I've looked at produce the same values for both fields.

In practice the impact is obviously pretty light since it will only
come up when somebody is dumping database metadata in a generic report
for some reason. That has to be pretty rare.

On May 8, 4:54 am, Thomas Mueller <[email protected]>
wrote:
> Hi,
>
> > Please note that my question is different than the FAQ.
> > I'm looking specifically at the results of DatabaseMetaData queries
>
> Well, I think it's not that different. it's about using
> ResultSetMetaData.getColumnName versus getColumnLabel.
>
> > The javadoc refers to 'columns' but doesn't appear to
> > explicitly state that column names and labels must be identical.
>
> You are right. But I don't plan to change the current behavior.
>
> Regards,
> Thomas
>
> --
> You received this message because you are subscribed to the Google Groups "H2 
> Database" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group 
> athttp://groups.google.com/group/h2-database?hl=en.

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to