[ResultSet] getArray goes wrong

F

Ferro

I can get my ResultSet from my AS400-WebSphere server.
I can see and looping all the rows. All right.

But when I execute:
Array arr = rs.getArray(1);

I receive an exception "data type mismatch".
The same with:
Array arr = rs.getArray("column_name");

Do someone know the reason?

Which is the fastest way to put a ResourceSet column in
a String[] ????

Thanks a lot.
Ferro.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top