Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0004763
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] Y. DBSourceManagermajoralways2008-08-29 16:112009-03-18 11:02
ReportermarvintmView Statuspublic 
Assigned Tomarvintm 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision117
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseOracleJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0004763: Upgrader gives an error when trying to recreate a UNIQUE constraint in Oracle

DescriptionWhen a UNIQUE constraint is created in Oracle, an INDEX with the same name is also created.

If the constraint changes, during the update process dbsourcemanager tries to drop it, and create it again. However, the creation is not successfull, because an INDEX with the same name still exists.
Steps To ReproduceSimply create a unique constraint in the database, export the database, change in the xml the constraint (for example, adding more columns to it), and perform the update.database process.
Proposed SolutionDBsourcemanager will now drop the constraint and its associated index, ensuring that no problems happen when recreating it.
Tagsdbsm_migrate
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0008785)
svnbot (reporter)
2008-08-29 16:12

Repository: dbsourcemanager
Revision: 117
Author: marvintm
Date: 2008-08-29 16:12:51 +0200 (Fri, 29 Aug 2008)

Fixed issue 4763. Now dbsourcemanager will drop the associated index when dropping a UNIQUE constraint.

---
U branches/r0.8x/src/org/apache/ddlutils/platform/oracle/Oracle8Builder.java
---

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

- Issue History
Date Modified Username Field Change
2008-08-29 16:11 marvintm New Issue
2008-08-29 16:11 marvintm Assigned To => marvintm
2008-08-29 16:12 svnbot Checkin
2008-08-29 16:12 svnbot Note Added: 0008785
2008-08-29 16:12 svnbot Status new => resolved
2008-08-29 16:12 svnbot Resolution open => fixed
2008-08-29 16:12 svnbot svn_revision => 117
2008-11-25 23:36 psarobe Status resolved => closed
2008-12-18 12:38 jpabloae Sticky Issue No => Yes
2008-12-18 12:39 jpabloae Sticky Issue Yes => No
2008-12-18 12:39 jpabloae Tag Attached: dbsm_migrate
2008-12-18 12:41 jpabloae Project @4@ => Openbravo ERP
2008-12-18 12:41 jpabloae Category => Y. DBSourceManager
2009-03-18 11:02 anonymous sf_bug_id 0 => 2691345


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker