Hello,
Regarding to this image: link text
I have an object, 'rezultat', which has getters and setters. I wanna set for 'cli' attribute ( rezultat.setCli(String .....)
), and as string parameter it should be that m_objArray[0]
, so 'ADSL22675....' from that image. Expanding m_objArray
there are 19 attributes i need to set for the 'rezultat' object attributes. But i don't know how to access them.
Array o = ocs.getArray(1);
Object[] obj = (Object[])o.getArray();
rezultat = new ListOfMdfTab();
for (int i = 0; i < obj.length; i++)
{
rezultat.setCli ((String)obj[0].<what>?); //i need here that m_objArray[0].
}
'ocs' is an OracleCallableStatament object type, so i need Array o = ocs.getArray(1);
because that 1 index is the out parameter which is a complx type.
Please help.
Thanks!