Error handling in the native JDBC driver  The main( ) method

Chapter 4: Data Access Using JDBC

The JDBCExamples class

// An example class illustrating the use of JDBC facilities
// with the Java in Adaptive Server feature.
//   
// The methods of this class perform a range of SQL operations.
// These methods can be invoked either from a Java client,
// using the main method, or from the SQL server, using
// the serverMain method.
//
import java.sql.*;             // JDBC
public class JDBCExamples {
{




Copyright © 2005. Sybase Inc. All rights reserved. The main( ) method

View this book as PDF