Bugs item #1161789, was opened at 2005-03-12 02:26 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1161789&group_id=22866
Category: JBossServer Group: v4.0 Status: Open Resolution: None Priority: 5 Submitted By: Evgeniy (evgen_ii) Assigned to: Nobody/Anonymous (nobody) Summary: SerializableResultSetMetaData.getColumnCount Initial Comment: Method getColumnCount of SerializableResultSetMetaData class returns wrong number of columns in resultset. It is as great as actual count + 1 constantly. The problem is obvious - in constructor internal array is created with the actual size + 1 int count = metaData.getColumnCount(); columnData = new ColumnData[count+1]; and than the lenght of this array is returned as column count: public int getColumnCount() throws SQLException { return columnData.length; } And we get wrong count of columns in resulset. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1161789&group_id=22866 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-Development mailing list JBoss-Development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-development