Forums Register Login

resultSet with array

+Pie Number of slices to send: Send
SMSCConnectInfoBean bean = null;


if(resultSet.next()) {

bean = new SMSCConnectInfoBean(resultSet.getInt("SERVICE_NUMBER"), resultSet.getString("IP_ADDRESS"),
resultSet.getInt("PORT"), resultSet.getString("SYSTEMID"),
resultSet.getString("PASSWORD"), resultSet.getString("SYSTEMTYPE")}


I want to use SMSCConnectInfoBean bean[] = null;

how to use array inside the resultSet.next()

how can retrive
please give sample code ..
+Pie Number of slices to send: Send
 

Ragavendran Sivaji Rao wrote:SMSCConnectInfoBean bean = null;
I want to use SMSCConnectInfoBean bean[] = null;

how to use array inside the resultSet.next()



Did you look API to see all available methods?


http://java.sun.com/javase/6/docs/api/java/sql/ResultSet.html
Always look on the bright side of life. At least this ad is really tiny:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1059 times.
Similar Threads
SQL Array Question
problem in where clause while fetching records in jtable
Using a prepared statement
How can you show data from a specific colum in a JList? through JDBC
unable to pass value of resultset to servlet to jsp
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 06:50:56.