Oliver Wilms · Jul 15, 2020

Mapping Legacy Global to Persistent class storage

I want to map global ^myUnitTests(ID)={Start}_"^"_{JOB} where {Start} and {JOB} are two properties and ID is determined by $Increment(^myUnitTests).

I defined this class but it will not compile:

Class UnitTest.Test Extends %Persistent [ StorageStrategy = NewStorage1 ]
{ Property JOB As %String; Property Start As %String; Storage NewStorage1
<SQLMap name="Map1">
<Data name="JOB">
<Data name="Start">
} }

1 0 1 86
Log in or sign up to continue