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=33054>. 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=33054 Summary: sql:query loses query column order Product: Taglibs Version: 1.0.6 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P5 Component: Standard Taglib AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] sql:query appears to be using a TreeMap to hold row data. This means that it cannot be used to execute and display dynamic (user supplied) SQL, because the column order is incorrect. Please consider using SequencedHashMap from Jakarta commons-collections, which will preserve entry order in the map. I realize this will introduce some backward compatibility issues for some people, but they probably should be using the Map interface anyway. FYI, http://displaytag.sourceforge.net/ does a great job displaying the output of sql:query, but since the columns are not in the right order, it's not very helpful. This is in: http://cvs.apache.org/viewcvs.cgi/jakarta-taglibs/standard/src/org/apache/taglibs/standard/tag/common/sql/ResultImpl.java?rev=1.10&view=auto -- 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. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
