}, connection);
try {
OCApp application = connection.getApplication();
// =============
OCConfigurationMetadataObject config = application.getMetadata();
OCMetadataDocumentCollection dc = config.getDocuments();
OCDocumentMetadataObject dmo = null;
int sz = dc.size();
for (int i = 0; i < sz; i++) {
dmo = dc.get(i);
String typeName = dmo.getFullName();
lrs.createRowAndSetValues(new Object[] { typeName, // TYPE_NAME
Integer.valueOf(Types.STRUCT), // DATA_TYPE
Integer.valueOf(0), // PRECISION
null, // LITERAL_PREFIX
null, // LITERAL_SUFFIX
null, // CREATE_PARAMS
Integer.valueOf(typeNullableUnknown), // NULLABLE
Boolean.valueOf(false), // CASE_SENSITIVE
Boolean.valueOf(true), // SEARCHABLE
Boolean.valueOf(false), // UNSIGNED_ATTRIBUTE
Boolean.valueOf(false), // FIXED_PREC_SCALE
Boolean.valueOf(false), // AUTO_INCREMENT
typeName, // LOCAL_TYPE_NAME
Short.valueOf((short) 0), // MINIMUM_SCALE
Short.valueOf((short) 0), // MAXIMUM_SCALE
null, // SQL_DATA_TYPE - unused
null, // SQL_DATETIME_SUB - unused
Integer.valueOf(10) // NUM_PREC_RADIX
});
}
OCMetadataCatalogCollection cc = config.getCatalogs();
OCCatalogMetadataObject cmo = null;
sz = cc.size();
for (int i = 0; i < sz; i++) {
cmo = cc.get(i);
String typeName = cmo.getFullName();