April 05
Prof. Ismael H. F. Santos -  ismael@tecgraf.puc-rio.br                                                          2
CloudscapeCustomerDAO impl
n/* This class can contain all Cloudscape specific code and SQL statements. The client is thus shielded from knowing these implementation details */
nimport java.sql.*;
npublic class CloudscapeCustomerDAO implements CustomerDAO {
n    public CloudscapeCustomerDAO() { // initialization }
n    /* The following methods can use CloudscapeDAOFactory.
n        createConnection() to get a connection as required */
n    public int insertCustomer(...) {
n       /* Implement insert customer here. Return newly created customer
n           number or a -1 on error */
n    }
n   public boolean deleteCustomer(...) {
n      /* Implement delete customer here // Return true on success,
n          false on failure */
n    }
n