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

0

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: 3 years 7 months ago

1 Answer:

1

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

hozawa's picture
53142
Joined: Apr 24 2010 - 4:31pm
Last seen: 5 months 1 week ago
Feedback
randomness