##### 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
    - Prepare - doprepare.php
    - Run - dorunprep.php
    - Close - docloseprep.php

##### Project Documentation

- Project Information
- Project Reports

## docloseprep.php

This script closes a prepared SQL statement.

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

dorunprep.php processes the following HTTP parameters:

PHPSESSID
  (required) the session ID returned from dologin.php
stm-id
  (required) is the prepared SQL statement identifier returned by doprepare.php

The response structure returned by docloseprep.php is as follows:

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

In case of errors or warnings it looks like this:

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