SerializableResultSetMetaData.getColumnCount is off by one ----------------------------------------------------------
Key: JBAS-1574 URL: http://jira.jboss.com/jira/browse/JBAS-1574 Project: JBoss Application Server Type: Bug Components: JCA service Versions: JBossAS-4.0.1 SP1, JBossAS-4.0.1 Final Reporter: Scott M Stark Fix For: JBossAS-4.0.2RC1, JBossAS-4.0.2 Final, JBossAS-5.0 Alpha The SerializableResultSetMetaData wrapper ctor is creating a copy of the ResultSetMetaData column info into an array of getColumnCount+1 to allow for the base 1 index, but the getColumnCount method is returning the array length. This produces an off by one error. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- 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