* 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) *

1 //close the query execution and the database
2 connection before exiting
3 stmt.close();
4 conn.close();
5 }
6 //catch any exception and print it to the
7 system output
8 catch ( Exception e) {
9 System.out.println (e.getMessage() );
10 e.printStackTrace();
11 }
12 } // End main
13 } // End class Select

Table Font Size


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