Hi all,
I think my last post was somewhat confusing - perhaps this is easier. Does anyone
know the return type for a multiValued int (or String) field in intake? I have the
following two little lines of code as a test:
Object test = (resourceLanguageGroup.get("LanguageId").getValue());
logger.debug("What is my class type: " + test.getClass());
this gives me the class type of "[I" - literally a bracket and a capital I. Now I
also did this with a normal int field (not multivalued) and that came back as
"java.lang.Integer" as expected... anyone know what I'm supposed to do with a "[I"
class if I want to insert those values into my db? I am really stuck here, any advice
would be very welcome,
Luke Majewski
Center for Promotion of Child Development Through Primary Care