File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes resultSet with array Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "resultSet with array" Watch "resultSet with array" New topic
Author

resultSet with array

Shyam Hai
Ranch Hand

Joined: Feb 04, 2009
Posts: 68
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 ..
dariyoosh za
Greenhorn

Joined: Apr 12, 2009
Posts: 20
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: resultSet with array
 
Similar Threads
problem in where clause while fetching records in jtable
How can you show data from a specific colum in a JList? through JDBC
unable to pass value of resultset to servlet to jsp
SQL Array Question
Using a prepared statement