Can I Import data from a database using only Javabeans instead SQL?

There's the question. 

I using a database with "person", and for each "person" they have "age" and "name" value, when I import from my database using SQL, it only pickup data from one person, and I need to show data from four persons in my report, but I can pick four times diferent data for each person, just data from one, and I see in Javabeans I can use Arrays and Classes, that I can import for each person the values and put in a Array or in a Object like.

christopher_5's picture
Joined: Apr 7 2016 - 12:31pm
Last seen: 7 years 5 months ago

1 Answer:

It's possible to select several rows using SQL. There probably is a mistake in your SQL statement.

hozawa's picture
190655
Joined: Apr 24 2010 - 4:31pm
Last seen: 4 years 3 months ago
Feedback
randomness