XParametersSupplier.class, rowSet );
if ( xSuppParams != null )
parameters = xSuppParams.getParameters();
final XResultSetMetaDataSupplier sup = (XResultSetMetaDataSupplier) UnoRuntime.queryInterface(XResultSetMetaDataSupplier.class, rowSet);
final XResultSetMetaData resultSetMetaData = sup.getMetaData();
columnCount = resultSetMetaData.getColumnCount();
if ( parameters != null )
{
firstParameterIndex = columnCount + 1;
columnCount += parameters.getCount();
}
columnTypes = new int[columnCount];
columnNames = new String[columnCount];
for (int i = 1;i <= columnCount;++i)
{
if ( i < firstParameterIndex )
{
columnNames[i-1] = resultSetMetaData.getColumnName(i);
columnTypes[i-1] = resultSetMetaData.getColumnType(i);
}
else
{
try
{