public Connection connect() throws SQLException {
  Properties p=new Properties();
  if (isSybase()) {
    p.setProperty("JCONNECT_VERSION","3");
    p.setProperty("charSet","eucksc");
  }
  p.setProperty("user",user);
  p.setProperty("password",password);
  return driver.connect(uri,p);
}

public Connection connect ( ) throws SQLException { Properties p = new Properties ( ) ; if ( isSybase ( ) ) { p . setProperty ( "JCONNECT_VERSION" , "3" ) ; p . setProperty ( "charSet" , "eucksc" ) ; } p . setProperty ( "user" , user ) ; p . setProperty ( "password" , password ) ; return driver . connect ( uri , p ) ; }
connect to the database and return the connection .
