have I been created in this transaction
Posted: Mon Feb 24, 2014 8:56 am
Hi everyone,
Wonder if anyone can solve this conundrum....(in Jade 6)...
for the below piece of code, can you tell me how to code for the method hasBeenCreatedWithinThisBlock
Cheers for the time ..
lorcan
beginTransaction
create otherObject persistant;
commitTransaction
beginTransaction
create newObject persistant;
if newObject.hasBeenCreatedWithinThisBlock then
/> //this is true;
else
/> // this is false;
endif;
if otherObject.t.hasBeenCreatedWithinThisBlock then
/> //this is false
else
/> // this is true
endif;
commitTransaction
Wonder if anyone can solve this conundrum....(in Jade 6)...
for the below piece of code, can you tell me how to code for the method hasBeenCreatedWithinThisBlock
Cheers for the time ..
lorcan
beginTransaction
create otherObject persistant;
commitTransaction
beginTransaction
create newObject persistant;
if newObject.hasBeenCreatedWithinThisBlock then
/> //this is true;
else
/> // this is false;
endif;
if otherObject.t.hasBeenCreatedWithinThisBlock then
/> //this is false
else
/> // this is true
endif;
commitTransaction