DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43831>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43831
------- Additional Comments From [email protected] 2007-11-13 12:38 -------
found mysql bug report that the useOldAliasMetadataBehavior default changes from
true to false from version 5.0 to 5.1.
http://bugs.mysql.com/bug.php?id=31406
---
/dev/jee/workspace/mysql-connector-java-5.0.8/src/com/mysql/jdbc/ConnectionProperties.j
ava 2007-11-13 13:36:49.473056600 -0600
+++
/dev/jee/workspace/mysql-connector-java-5.1.5/src/com/mysql/jdbc/ConnectionPropertiesIm
pl.java 2007-11-13 13:41:30.707431600 -0600
private BooleanConnectionProperty useOldAliasMetadataBehavior = new
BooleanConnectionProperty(
- "useOldAliasMetadataBehavior",
- true,
- "Should the driver use the legacy behavior for \"AS\"
clauses on columns and tables, and only "
- + "return aliases (if any) for
ResultSetMetaData.getColumnName() or ResultSetMetaData.getTableName()
"
- + "rather than the original column/table name?",
- "5.0.4",
+ "useOldAliasMetadataBehavior", //$NON-NLS-1$
+ false,
+
Messages.getString("ConnectionProperties.useOldAliasMetadataBehavior"),
//$NON-NLS-1$
+ "5.0.4", //$NON-NLS-1$
MISC_CATEGORY,
Integer.MIN_VALUE);
I would still suggest changing the accessor from getColumnName to getColumnLabel
since this would reflect the intent of the developer.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.