Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0007179Openbravo ERPY. DBSourceManagerpublic2009-01-28 10:482009-04-22 00:00
javierfrances 
marvintm 
normalmajorhave not tried
closedfixed 
20rPath Linux
2.40 
2.50beta 
Core
No
0007179: Error in export.database
Version 2.40 - Postgres 8.3:

when you execute the ant export.database task, I have an error for the columns defined in database as numeric(10) or numeric(10,2). dbSourceManager generates the xml files and for these columns you have it as numeric(10,0) in the xml files, when the definition should be numeric(10) or numeric(10,2).

So, later when I execute the ant create.database task,the database is created without decimals for these columns and I miss the decimals for the registers on it.
No tags attached.
Issue History
2009-01-28 10:48javierfrancesNew Issue
2009-01-28 10:48javierfrancesAssigned To => marvintm
2009-02-10 22:02pjuvaraNote Added: 0013332
2009-02-10 22:02pjuvaraTypebackport => defect
2009-02-18 18:38svnbotCheckin
2009-02-18 18:38svnbotNote Added: 0013691
2009-02-18 18:38svnbotStatusnew => resolved
2009-02-18 18:38svnbotResolutionopen => fixed
2009-02-18 18:38svnbotsvn_revision => 247
2009-02-18 18:39svnbotCheckin
2009-02-18 18:39svnbotNote Added: 0013692
2009-02-18 18:39svnbotsvn_revision247 => 13332
2009-02-18 18:44svnbotCheckin
2009-02-18 18:44svnbotNote Added: 0013694
2009-02-18 18:44svnbotsvn_revision13332 => 248
2009-04-21 10:54psarobeStatusresolved => closed
2009-04-22 00:00anonymoussf_bug_id0 => 2777922

Notes
(0013332)
pjuvara   
2009-02-10 22:02   
Please do not log backports directly.
(0013691)
svnbot   
2009-02-18 18:38   
Repository: dbsourcemanager
Revision: 247
Author: marvintm
Date: 2009-02-18 18:38:45 +0100 (Wed, 18 Feb 2009)

Fixed issue 7179. DBSM will now be able to correctly read the size and scale of numeric columns.

---
U trunk/src/org/apache/ddlutils/platform/postgresql/PostgreSqlModelLoader.java
---

https://dev.openbravo.com/websvn/dbsourcemanager/?rev=247&sc=1 [^]
(0013692)
svnbot   
2009-02-18 18:39   
Repository: openbravo
Revision: 13332
Author: marvintm
Date: 2009-02-18 18:39:22 +0100 (Wed, 18 Feb 2009)

Fixed issue 7179. DBSM will now be able to correctly read the size and scale of numeric columns.

---
U trunk/src-db/database/lib/dbsourcemanager.jar
---

https://dev.openbravo.com/websvn/openbravo/?rev=13332&sc=1 [^]
(0013694)
svnbot   
2009-02-18 18:44   
Repository: dbsourcemanager
Revision: 248
Author: marvintm
Date: 2009-02-18 18:44:14 +0100 (Wed, 18 Feb 2009)

Fixed issue 7179. DBSM will now be able to correctly read the size and scale of numeric columns.

---
U branches/r0.8x/src/org/apache/ddlutils/platform/postgresql/PostgreSqlModelLoader.java
---

https://dev.openbravo.com/websvn/dbsourcemanager/?rev=248&sc=1 [^]