Hi Sean,
You can use the following url to download the patches:
http://users.aias.gr/csterg/db.zip
The zip file includes new versions of ConnectionPool and DBConnection,
minor change to DB.java (just a new method) and an implementation
example for the OracleDB adapter that does the work.

The above code works with the old way (no compatibility broken)
but if you have a jdbc2.0 compliant driver (and of course change the
adapter to create ConnectionPoolDataSource objects -like the
OracleDB.java) it will work better: e.g. survive db restarts,
automatically release resources.

Check it out and if ok, commit it.

Also, if we are to move to a new implementation of the
ConnectionPool, I don't think that we can keep compatibility
since the ConnectionPool.getConnection method should be
re-written with a totally different signature and I think that is
impossible (if we want the ConnectionPool to implement the
DataSource interface).

Thanks,
Costas



>
> As these are much needed improvements, and you're willing to put the
> work in, I'd be willing to review the code and commit it if it works for
> me if either email me the new/amended classes or post the URL of a zip.
> Posting the URL of a zip might be better, as then others can also review
> the code.
>
> Ideally though you'll get your diffs working... :-)
>
> --
> Sean Legassick
> [EMAIL PROTECTED]
>       Je suis un homme: rien d'humain en m'est étranger
>
>
>
>
> ------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?:           [EMAIL PROTECTED]
>



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

  • ... Jason van Zyl
    • ... Daniel Rall
  • ... Leandro Rodrigo Saad Cruz
  • ... John McNally
  • ... John McNally
    • ... Κώστας Στεργίου
    • ... Κώστας Στεργίου
      • ... Jon Stevens
        • ... ??sta? Ste?????
          • ... Sean Legassick
            • ... ??sta? Ste?????
              • ... Sean Legassick
              • ... Jon Stevens

Reply via email to