Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0010417Openbravo ERPY. DBSourceManagerpublic2009-08-27 11:002012-01-30 10:33
rafademiguel 
marvintm 
normalminoralways
acknowledgedopen 
20Ubuntu 8.04
2.40MP3 
 
Core
No
0010417: DBSourceManager identify the materialized views as tables
DBSourceManager identify the materialized views as tables so when you run "ant export.database" a new (in-existent) table (xml file) is created on /model/tables/

Later when you run "ant update.database" tries to create the table without success (because already exists an object with this name) but if you run an "ant create.database" it creates the table so then you have to drop the table in order to create your materialized view again.
Create a materialized view

1.- Create a materialized view on database

2.- Run ant export.database
No tags attached.
Issue History
2009-08-27 11:00rafademiguelNew Issue
2009-08-27 11:00rafademiguelAssigned To => marvintm
2009-08-28 15:32rafarodaNote Added: 0019272
2009-08-28 15:32rafarodaStatusnew => acknowledged
2012-01-30 10:33marvintmNote Added: 0044681
2012-01-30 10:33marvintmTypedefect => feature request

Notes
(0019272)
rafaroda   
2009-08-28 15:32   
Antonio,

Can you please comment on this issue?

Thanks.
(0044681)
marvintm   
2012-01-30 10:33   
This is indeed correct, but I'm going to mark it as a feature request, as materialized views are not a supported feature of dbsourcemanager currently.