Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0006737Openbravo ERPA. Platformpublic2008-12-24 14:372009-01-02 21:20
iperdomo 
iciordia 
normalminoralways
newopen 
202.6.25-gentoo-r9
pi 
 
Core
No
0006737: XMLEngine main() method is broken after fix in Rev.11558
The class XmlEngine allows you to execute it from command line e.g. java XmlEngine [driver URL] file

The main() method of this class allows you to create a XmlEngine object without connection, but now we are require always a connection to the database.

The connection pool handling should be defined in the main() method.
* Handling the connection to the database in the main() method, or
* Stops supporting XmlEngine to be executed from command line (remove the main method, and the XmlEngine() constructor)
No tags attached.
Issue History
2008-12-24 14:37iperdomoNew Issue
2008-12-24 14:37iperdomoAssigned To => iciordia
2008-12-24 14:37iperdomosf_bug_id0 => 2464400
2008-12-24 14:37iperdomoRegression testing => No
2009-01-02 21:20iciordiaNote Added: 0011885
2009-01-02 21:20iciordiaTypedefect => feature request

Notes
(0011885)
iciordia   
2009-01-02 21:20   
XmlEngine should be refactored to remove dependencies from ConnectionProvider. Translation on the fly should not be required but an optional feature (using a transparent implementation of Translation Handler?). Using xmlEngine from command line helps to test it and it should not be removed