Icon View Incident Report

Serious Serious
Reported By: Hendrik Grutzmacher
Reported On: 1/14/2013
For: Version 2.11 Build 3
# 3738 Altering a Table to Add a Generated Column that Refers to the Same Table via a Function Causes Error

I have a self self-referencing table T_LOCATIONS. i want to build a multilevel record inheritance. However i wanted to create a generated column that shows the path of the current record ala 'masterofthisrecord -> masterofmasterofthisrecord->...'

I have a function that flattens this hierarchy by recursively selecting on T_LOCATIONS. however when i use this function in the column generations it says 'can not lock the table 't_locations' for exclusive access'.

ALTER TABLE "T_LOCATIONS"
ADD COLUMN "PATH" VARCHAR(1024) COLLATE "ANSI" GENERATED ALWAYS AS
 F_SYS_GETINHERITENCE('T_LOCATIONS', LOCATION__ID, 'LOCATION__ID', 'NAME')



Resolution Resolution
Fixed Problem on 1/18/2013 in version 2.12 build 1


Products Affected Products Affected
ElevateDB Additional Software and Utilities
ElevateDB DAC Client-Server
ElevateDB DAC Client-Server with Source
ElevateDB DAC Standard
ElevateDB DAC Standard with Source
ElevateDB DAC Trial
ElevateDB LCL Standard with Source
ElevateDB PHP Standard
ElevateDB PHP Standard with Source
ElevateDB PHP Trial
ElevateDB VCL Client-Server
ElevateDB VCL Client-Server with Source
ElevateDB VCL Standard
ElevateDB VCL Standard with Source
ElevateDB VCL Trial

Image