##### jdbc2http

- Overview
- Connection
- Limitations
- Download

##### Supported Databases

- Overview
- MySQL

##### Server Side Drivers

- Scripts
  - Login - dologin.php
  - Logout - dologout.php
  - Metadata - dodbmeta.php
  - Set Parameters - doparam.php
  - SQL - dosql.php
  - Prepared Statements

##### Project Documentation

- Project Information
- Project Reports

## doparam.php

This script sets database parameters.

The current session must contain the connection parameters for database access.

doparam.php processes the following HTTP parameters:

PHPSESSID
  (required) the session ID returned from dologin.php
transaction-isolation
  (optional) one of the transaction isolation levels supported by the database server

The response structure returned by doparam.php is an XML document as outlined below:

    <result>
            <param name="name-of-parameter">value-of-parameter</param>
            ...
            <warning>
                    <reason>error message</reason>
                    <sqlstate>SQL state</sqlstate>
                    <vendor-code>vendor code</vendor-code>
            </warning>
    </result>

name-of-parameter is the name of a parameter passed in, value-of-parameter is its new value.

In case of an error, the resulting response is like:

    <result>
            <error>
                    <reason>error message</reason>
                    <sqlstate>SQL state</sqlstate>
                    <vendor-code>vendor code</vendor-code>
            </error>
    </result>