One minor observation: you wrote "ECP, or distributed cache protocol, ...". It may be worth saying that ECP stands for Enterprise Cache Protocol (AFAIK). Before ECP InterSystems had a similar thing called DCP, which stood for Distributed Cache Protocol.
I've been informed that development request #143868 has been raised about this. If you'd like to add your voice to those trying to get this sorted out please click the green "thumbs up" on my original post. Better still, lobby for it through your account manager or via WRC.
Thanks Nicole. My previous post about inconsistencies between Atelier Explorer and Server Explorer is here and I hope the outstanding issues I identified there have also been filed somewhere that they will get attended to by development.
Does your where clause need a colon in front of pVariable ?
where COLUMNC = :pVariable
If that doesn't fix it, I suggest you first check whether the problem is caused by the &sql(...) or by the way your web page is calling your server-side method.
Remove all your code between the opening &sql( and the closing ) - incidentally, I assume you have a closing ) even though it didn't show in your post.
Make your method end with QUIT pVariable instead of returning tempVariable1.
When a MAC routine is compiled it generates and compiles an INT routine. When an INT routine is compiled it generates an OBJ routine.
Here's one way to get the $H-style timestamp of when an OBJ was last written. In my example it's the OBJ of the RightTriangle.MAC example in the SAMPLES namespace:
For a class definition you can get the timestamp of last change from the TimeChanged property of the %Dictionary.ClassDefinition instance for the class.
For a routine, the TimeStamp property of its %Library.Routine instance is what you want.
But AFAIK the associated username isn't recorded automatically. You could use the server-side source control class interface to record this kind of thing, but it relies on whatever is making the change actually collaborating with that interface.
That'd rely on 2016.2.0 being able to restore the journals written by 5.0.21, right? I'm not saying that's not possible, just that it'd need to work correctly (i.e. not just appear to work).
go to post
And OMI (Open M[UMPS] Interconnect) too?!
go to post
A very interesting article Alexey.
One minor observation: you wrote "ECP, or distributed cache protocol, ...". It may be worth saying that ECP stands for Enterprise Cache Protocol (AFAIK). Before ECP InterSystems had a similar thing called DCP, which stood for Distributed Cache Protocol.
go to post
I've been informed that development request #143868 has been raised about this. If you'd like to add your voice to those trying to get this sorted out please click the green "thumbs up" on my original post. Better still, lobby for it through your account manager or via WRC.
go to post
Another option is to use Serenji
go to post
Thanks Nicole. My previous post about inconsistencies between Atelier Explorer and Server Explorer is here and I hope the outstanding issues I identified there have also been filed somewhere that they will get attended to by development.
go to post
And you're all doing a great job at it!
go to post
Does your where clause need a colon in front of pVariable ?
where COLUMNC = :pVariable
If that doesn't fix it, I suggest you first check whether the problem is caused by the &sql(...) or by the way your web page is calling your server-side method.
Remove all your code between the opening &sql( and the closing ) - incidentally, I assume you have a closing ) even though it didn't show in your post.
Make your method end with QUIT pVariable instead of returning tempVariable1.
Do you still get a Javascript error?
go to post
This is interesting, and highlights that the use of TSTART and TCOMMIT alone is not sufficient to give your transactions ACID properties.
go to post
Thanks moderator. Maybe the auto-split will do a better job someday.
go to post
When a MAC routine is compiled it generates and compiles an INT routine. When an INT routine is compiled it generates an OBJ routine.
Here's one way to get the $H-style timestamp of when an OBJ was last written. In my example it's the OBJ of the RightTriangle.MAC example in the SAMPLES namespace:
write $$DATE^%R("RightTriangle.OBJ")
go to post
For a class definition you can get the timestamp of last change from the TimeChanged property of the %Dictionary.ClassDefinition instance for the class.
For a routine, the TimeStamp property of its %Library.Routine instance is what you want.
But AFAIK the associated username isn't recorded automatically. You could use the server-side source control class interface to record this kind of thing, but it relies on whatever is making the change actually collaborating with that interface.
Do you use any form of source control?
go to post
That'd rely on 2016.2.0 being able to restore the journals written by 5.0.21, right? I'm not saying that's not possible, just that it'd need to work correctly (i.e. not just appear to work).
go to post
Please tell us what version of Cache you are currently using.
go to post
+1 for the button rename Ben suggested
go to post
Please explain what you mean by "Class(set) Operators".
go to post
I've just re-checked in the latest published build, 1.0.255. There's no sign of any improvement on these. I hope you haven't lost sight of them.
go to post
Any news on 2 and 3 yet? No sign of them in the latest build, 1.0.255.
go to post
Note that Atelier requires 2016.2 as the minimum version of the Cache/Ensemble instances you're wanting to connect to.
go to post
Great article Dmitry. I think there's a minor typo under the dump of the big string block. You wrote:
Unfortunately, this block is shown unencrypted.
I think you mean "encrypted". Or perhaps better to say "encoded", and to refer to "decoding" in the subsequent sentence instead of "decryption".
go to post
I cannot help with this, and I don't think Developer Community (DC) is the right place. You should contact WRC. See http://www.intersystems.com/services-support/worldwide-response-center/
Please note that, like many participants on DC, I do not work for InterSystems.