* GREY=local LOCAL HTML version of Foils prepared 13 March 1997

Foil 18 Example - using Imaginary's mSQL Driver -II

From Overview of Java Database Connection Basic Information Technology Course CPS616 -- Spring Semester 1997. by Udayan Parvate, Tom Pulikal (Geoffrey C. Fox) *

//close the query execution and the database
connection before exiting
stmt.close();
conn.close();
}
//catch any exception and print it to the
system output
catch ( Exception e) {
System.out.println (e.getMessage() );
e.printStackTrace();
}
} // End main
} // End class Select



Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Tue Jul 22 1997