accessing data from Database
<p>I am connecting oracle database through OJDBC.RAR. when i try to list out all the data from the database it show only the data which contains in the first column. the remaining data are not visible.  pls give me a solution </p>

<p>My Code:</p>

<pre><code>DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver()); 
Connection conn; 
ResultSet rs; 
Statement stmt; 
conn = DriverManager.getConnection(jdbcURL, user, passwd); 
stmt = conn.createStatement(); //getting values from DBS 
rs = stmt.executeQuery("SELECT * FROM isroot"); 
rs.next(); 
id = rs.getString(1); 
name=rs.getString(2); 
genre=rs.getString(5);
</code></pre>
