String dataTypeName = resultSet.getString("DATA_TYPE_NAME");
DBObjectBundle objectBundle = parent.getConnectionHandler().getObjectBundle();
if (typeOwner != null) {
DBSchema typeSchema = objectBundle.getSchema(typeOwner);
if (typePackage != null) {
DBPackage packagee = typeSchema.getPackage(typePackage);
declaredType = packagee.getType(dataTypeName);
} else {
declaredType = typeSchema.getType(dataTypeName);
}
if (declaredType == null) typeName = dataTypeName;
} else {