Open
Description
Hi, I use the method toPojo
to store the result of a query in my Java class, using in that class, for each field, the annotation Column
. The problem is that some field of my pojo class are arrays. In order to explain in a better way my problem, I will describe in an easy way my scenario. In my db I have many fields(700 more or less) and some of them are called like value_0, value_1, value_2,... In my Java class, to avoid to create 700 fields, I have (among others) a field called values[]
(that is an array), so I would to know whether there is a method (in order to avoid to parserize manually the result of a query) that can store the result corrisponding to more columns of the db in that array.
I hope I was clear, thanks in advance!