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.
Logged In: YES
user_id=175228
All issues have been moved to http://jira.jboss.com. Existing
issues have been moved. New issues will be closed with this
canned reponse.
Logged In: YES
user_id=175228
Moved to http://jira.jboss.com/jira/browse/JBAS-1574