Using information from ItResource of custom in OIM 11 g sql execution

I need to run a sql query that is customized using a connection from an ItResource. How can I get the connection instance to run the sql query? Someone has an idea how to do that? Help me...

TKS

HashMap itAttribute = new HashMap();
itAttribute.put ("TI Resources.Name", "TI-DB01");
tcITResourceInstanceOperationsIntf itResource = null;
tcResultSet resItResKey;
resItResKey = itResource.findITResourceInstances (itAttribute);
long iTesourceKey = resItResKey.getLongValue ("TI Resource.Key");
tcResultSet resItRes = (iTesourceKey) itResource.getITResourceInstanceParameters;

Add lines to the following: -.

HashMap hashMap = new HashMap ();
          
int countResultGetITResourceInstanceParameters = resItRes. getRowCount();
for (int i = 0; i)< countresultgetitresourceinstanceparameters;="" i++)="">
resultGetITResourceInstanceParameters.goToRow (i);
() hashMap.put
resItRes.getStringValue (ZAPConstants.IT_RESOURCES_TYPE_PARAMETER_NAME),
resItRes.getStringValue (ZAPConstants.IT_RESOURCES_TYPE_PARAMETER_VALUE)
);
}
return hashMap;

Tags: Fusion Middleware

Similar Questions

Maybe you are looking for