Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0006071Openbravo ERPA. Platformpublic2008-11-19 16:012011-10-19 21:48
pjuvara 
iciordia 
normalmajorhave not tried
acknowledgedopen 
5
 
 
Core
No
0006071: MySQL support
Support for MySQL as additional RDBMS in addtion to Oracle and PostgreSQL
ReleaseCandidate
Issue History
2008-11-19 16:01pjuvaraNew Issue
2008-11-19 16:01pjuvaraAssigned To => rafaroda
2008-11-19 16:01pjuvarasf_bug_id0 => 2314993
2008-11-19 16:01pjuvaraRegression testing => No
2008-11-20 08:39rafarodaAssigned Torafaroda => pjuvara
2008-11-26 17:25pjuvaraSticky IssueNo => Yes
2008-11-26 17:36pjuvaraTag Attached: ReleaseCandidate
2008-11-26 17:37pjuvaraStatusnew => acknowledged
2008-11-26 17:39pjuvaraSticky IssueYes => No
2009-05-22 19:33pjuvaraAssigned Topjuvara => iciordia
2011-10-19 20:35jrtejadaNote Added: 0041944
2011-10-19 20:36jrtejadaIssue Monitored: jrtejada
2011-10-19 21:48iciordiaNote Added: 0041945

Notes
(0041944)
jrtejada   
2011-10-19 20:35   
What components are involved in the migration?

I'd like to help in this implementation


Regards
(0041945)
iciordia   
2011-10-19 21:48   
The biggest effort is the legacy pl/sql code (how to automatically translate current pl/sql code to mysql procedural language using dbsourcemanager).

The steps in this process would be:
1) Understand how DBSourceManager works. There is some documentation in Openbravo wiki but it will definitely require to explore the code
2) Enable mysql in dbsourcemanager and fix all issues till it installs openbravo tables and columns in the database. This should not be difficult but a relevant effort. Once it is done it should be possible to build the system on top of it but the system won't work
3) Next is to create a manually coded reference implementation in mysql for all different db_objects (triggers, functions, store procedures, views, etc.).
4) Using 3) as reference, extend the pl translator in dbsourcemanager to support mysql. This would be a difficult and very big effort

Once the database is created, the rest of the process should be much simpler and lighter.

My estimation for the whole process is several month-man. My recommendation is to wait till Openbravo replaces the legacy pl/sql (not sooner than 2013), but of course feel free to try.

Ismael