On 02/21/2013 10:44 AM, Paul Seamons wrote:
> Steve is right on here. I doubt bugzilla is using an ORM - if they had
> you could swap out db backends. They are likely using straight DBI. In
> that case *most* stuff should just work cross db, but things like my $id
> = $dbh->{'mysql_insertid'} are not going to fly. Only way to fix that
> is to hack up the driver to catch access to that key. I don't think it
> would be too much work for this this particular one. But if there are
> other mysql specific syntax pieces you are hosed. I doubt bugzilla does
> to much table creation - or if they do you could just hijack that step.
>From what I read in the docs, buzilla supports MySQL, PostgreSQL,
SQLite, and Oracle out of the box. So they are definitely using an
abstraction layer.