code: public Connection getConnection() throws SQLException {
          try {
              return new DrizzleConnection(new MySQLProtocol(hostname, port, database, null, null, new Properties()),
                      new DrizzleQueryFactory());
          } catch (QueryException e) {
              throw SQLExceptionMapper.get(e);
          }
      }
docs: <p>Attempts to establish a connection with the data source that this <code>DataSource</code> object represents.
  
  @return a connection to the data source
  @throws java.sql.SQLException if a database access error occurs