View Issue Details

IDProjectCategoryView StatusLast Update
0001126Database Workbench v5Meta Data Compare & Migrationpublic2014-12-29 10:59
ReporterWolfgang Rohdewald Assigned ToMartijn Tonies  
PrioritynormalSeveritymajorReproducibilityalways
Status acknowledgedResolutionopen 
Product Version5.0.6 
Summary0001126: generated DDL does not handle circular references in computed fields
DescriptionI have two tables referencing each other with computed fields.
Extracting DDL for the database generates a script which cannot create a new empty database. IMHO It should first create only dummy definitions for all computed fields and alter them after all tables have been created. Just like it does with procedures.
Additional InformationThis is what DBWorkbench generates:

CREATE TABLE A
(
   ID BIGINT NOT NULL,
   CB COMPUTED BY ((select id from b where id=b.id))
);
CREATE TABLE B
(
   ID BIGINT NOT NULL,
   CA COMPUTED BY ((select id from a where id=a.id))
);
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2014-12-29 10:46 Wolfgang Rohdewald New Issue
2014-12-29 10:59 Martijn Tonies Assigned To => Martijn Tonies
2014-12-29 10:59 Martijn Tonies Status new => acknowledged
2015-05-11 11:20 Martijn Tonies Category Compare & Migration => Meta Data Compare & Migration