{
if (!readOnlyDatastore && !fixedDatastore)
{
// If we aren't a read-only datastore, try to create a table and then
// retrieve its details, so as to obtain the catalog, schema.
ProbeTable pt = new ProbeTable(this);
pt.initialize(clr);
pt.create(conn);
try
{
String[] schema_details = pt.findSchemaDetails(conn);
if (schema_details != null)
{
catalogName = schema_details[0];
schemaName = schema_details[1];
}
}
finally
{
pt.drop(conn);
}
}
}
}
catch (SQLException e)