Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jdbc driver Ignore sql as Statement [JDBC258] #305

Closed
firebird-automations opened this issue Jul 16, 2012 · 4 comments
Closed

jdbc driver Ignore sql as Statement [JDBC258] #305

firebird-automations opened this issue Jul 16, 2012 · 4 comments

Comments

@firebird-automations
Copy link

Submitted by: yue (yuedaxia)

Is related to JDBC162

"select count(*) as aa from table1" or "select count(*) aa from table1" in jaybird 2.1 is ok,The resultset has ColumnName "AA",
In 2.2 ,there no Column

@firebird-automations
Copy link
Author

Commented by: @mrotteveel

This is a result of the changes to the behavior of getColumnName and getColumnLabel, listed under 'Other fixes and changes' in the releasenotes. See also JDBC162. The new behavior is as specified in the JDBC specification.

For your intended use you should use getColumnLabel() instead.

@firebird-automations
Copy link
Author

Modified by: @mrotteveel

Link: This issue is related to JDBC162 [ JDBC162 ]

@firebird-automations
Copy link
Author

Commented by: @mrotteveel

Closing as won't fix, as this is the intended behavior.

@firebird-automations
Copy link
Author

Modified by: @mrotteveel

assignee: Roman Rokytskyy [ rrokytskyy ] => Mark Rotteveel [ avalanche1979 ]

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Won't Fix [ 2 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants