I have values retrieved from a pl/sql function and it is stored in as
Array arr = callablestatement.getArray(1);
I would like to store the values in a HashMap, something like
hashMap.put("Dt", arr.get(0));
How can I do this? Or are there any other efficient ways to do this?
Here arr is of type java.sql.Array. So you have to change it to java array type.
Now you can add it to hashmap using