Hi, Caroline is referring to my 'openConnection()' method which is missing a 'return' statement. see below
regards, Luke > Your class opens and gets a 'conn' object from the > connection pool. Where in your code "returns" the > 'conn' object for use? Should there be a statemenet > like: > > return conn; > > somewhere? > 3. an openConnection() method: > <code> > private void openConnection() { > try { > if(ds != null) { > conn = ds.getConnection(); > if(conn != null) { > message = "Got Connection to DB " + > conn.toString(); > } > } > } // end try block > catch(Exception e) { > e.printStackTrace(); > } return conn; > } //end method openConnection() > </code> > -- ======================== Luke (Terry) Vanderfluit Mobile: 0421 276 282 ======================== --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]