PiRSquared17 / bugzillareports

Automatically exported from code.google.com/p/bugzillareports
Apache License 2.0
0 stars 0 forks source link

Support Bugzilla on Oracle #56

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
email received asking "We currently utilize Bugzilla running with an Oracle 
back end and would like to utilize Bugzilla Reports for our MediaWiki 
installation.

Is there any way of getting Bugzilla Reports to connect to Oracle to retrieve 
data from our Bugzilla?"

It would involve creating a new connector to sit along side the MySQL and 
Postgress connectors, e.g. 
http://code.google.com/p/bugzillareports/source/browse/trunk/BMysqlConnector.php
 to use the php OCI libraries, see http://php.net/manual/en/book.oci8.php

Then updating 
http://code.google.com/p/bugzillareports/source/browse/trunk/BugzillaReport.php 
to define a new dbdriver which triggers the following switch block
    switch ($this->dbdriver) {
      case "pg" :
        $connector=new BPGConnector($this);       
        break;
      default :
        $connector=new BMysqlConnector($this);
    }
and pulls in the newly created OCI connector.

Original issue reported on code.google.com by homer.ce...@gmail.com on 4 Aug 2010 at 3:36

GoogleCodeExporter commented 9 years ago

Original comment by ian.homer@gmail.com on 4 Aug 2010 at 3:37