[jboss-jira] [JBoss JIRA] Commented: (JBAS-4453) SerializableResultSetMetaData did not have the classname for the column set.
Jay Howell (JIRA)
jira-events at lists.jboss.org
Wed May 30 17:21:08 EDT 2007
[ http://jira.jboss.com/jira/browse/JBAS-4453?page=comments#action_12363627 ]
Jay Howell commented on JBAS-4453:
----------------------------------
All that needs to be done on this issue is to add one line of code that sets the classname. The line
data.className = metaData.getColumnClassName(c);
is all that needs to be added in this block.
int count = metaData.getColumnCount();
columnData = new ColumnData[count+1];
for(int c = 1; c <= count; c ++)
{
ColumnData data = new ColumnData();
columnData[c] = data;
data.label = metaData.getColumnLabel(c);
data.name = metaData.getColumnName(c);
data.type = metaData.getColumnType(c);
//JBAS-4453, ASPATCH-222 add column class to the SerializableResultSetMetaData
data.className = metaData.getColumnClassName(c);
}
}
> SerializableResultSetMetaData did not have the classname for the column set.
> ------------------------------------------------------------------------------
>
> Key: JBAS-4453
> URL: http://jira.jboss.com/jira/browse/JBAS-4453
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Other
> Affects Versions: JBossAS-4.0.5.GA
> Reporter: Jay Howell
> Priority: Minor
>
> This is a small bug where if you try to remotely use a datasource, which is a bad idea anyway, the resultsetmetada does not contain the classname of the column.
--
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list