Published in: Java
Results rs = stmt.executeQuery() // or whatever if( !rs.next() ) { // no results returned } else { do { // process next results row } while( rs.next() ); }
You need to login to post a comment.
Java How to Program
Takes a new tools-based approach to Web application development that uses Netbeans 5.5 and Java Studio Creator 2 to create and consume Web Services. Features new AJAX-enabled, Web applications built with JavaServer Faces (JSF), Java Studio Creator 2 and the Java Blueprints AJAX Components. Includes new topics throughout, such as JDBC 4, SwingWorker for multithreaded GUIs, GroupLayout, Java Desktop Integration Components (JDIC), and much more.
indianocean on 07/27/07
Published in: Java
Results rs = stmt.executeQuery() // or whatever if( !rs.next() ) { // no results returned } else { do { // process next results row } while( rs.next() ); }
You need to login to post a comment.