Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0002485Openbravo ERPA. Platformpublic2008-01-09 10:102008-06-12 09:43
cromero 
marvintm 
normalminoralways
closedfixed 
5
 
2.40alpha-r2 
Core
No
0002485: The exectureDefaultSQL throw an exception
The exectureDefaultSQL method in OpenBravoDriverManagerConnectionFactory is throwing an exception when bbdd.sessionConfig is blank in Openbravo.properties.

Look at this:

https://sourceforge.net/forum/message.php?msg_id=4711310 [^]

An easy workaround is set some value in the field (SELECT DUMMY FROM DUAL).

Carlos Romero
Openbravo Team
No tags attached.
Issue History

Notes
(0006074)
user71   
2005-06-01 00:00   
(edited on: 2008-06-12 09:43)
This bug was originally reported in SourceForge bug tracker and then migrated to Mantis.

You can see the original bug report in:
https://sourceforge.net/support/tracker.php?aid=1867540 [^]
(0002978)
marvintm   
2008-01-16 16:36   
(edited on: 2008-06-12 09:24)
Logged In: YES
user_id=1952914
Originator: NO

We have tested this bug in the subversion repository and it has just been fixed.

Note that the only supported version of the application is the one in subversion. So it is possible that this was a bug in a previous version that is already fixed.
(0002979)
marvintm   
2008-01-16 16:36   
(edited on: 2008-06-12 09:24)
Logged In: YES
user_id=1952914
Originator: NO

Now it won't attempt to execute a SQL Query which is equal to "".
(0002980)
psarobe   
2008-06-04 17:44   
(edited on: 2008-06-12 09:24)
Logged In: YES
user_id=1500703
Originator: NO

In postgres that parameter comes blank and it is OK. To verify this bug you have to compile with no errors. Done