Skip to content

Is possible to store in an array the result of a query? #549

Open
@domixr

Description

@domixr

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!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions