go to post Eduard Lebedyuk · Apr 26, 2020 Call it? First argument is the statement index and the second is how long to wait in seconds. I would recommend setting this parameter as a part of JDBC connection string if applicable - it is available in some DBMS implementations.
go to post Eduard Lebedyuk · Apr 24, 2020 No, one user only. You can iterate over users and add favorites for each.
go to post Eduard Lebedyuk · Apr 24, 2020 Would be a great language to add. Are you interested in calling Rust code from InterSystems IRIS or interfacing with InterSystems IRS from Rust? Currently you can use Callin/Callout functionality for C/C++ and calll that from Rust. A while ago I was trying Rust and successfully transpiled C callout library into Rust callout library and compiled it as Rust shared lib and it works (callable from InterSystems IRIS). For this community project to take off two issues need to be solved: Doing something with a lot of generated boilerplate <- Easy part, can probably just dump it into external file as is Generating appropriate ZFEntry table. <-Probably possible but I have not researched the issue so far
go to post Eduard Lebedyuk · Apr 24, 2020 Easiest way to do that is to add a favorite: set sc = ##class(%SYS.Portal.Users).%AddFavorite("Community","https://community.intersystems.com") And your portal now looks like this:
go to post Eduard Lebedyuk · Apr 24, 2020 Every time you interact with the page your session is extended for session timeout. If there's no interaction from user after session timeout the session dies and cookie becomes invalid. You can adjust session timeout parameter in web application settings.
go to post Eduard Lebedyuk · Apr 23, 2020 VisitTime (any property really) should be stored before property parameter change. Can you try to recreate the data?
go to post Eduard Lebedyuk · Apr 23, 2020 You should set it as your property parameter: Class MyClass { Property CreatedOn As %TimeStamp(XMLTIMEZONE = "IGNORE"); } In runtime the behavior for your property CreatedOn would be IGNORE.
go to post Eduard Lebedyuk · Apr 22, 2020 Offtopic but generic JDBC provider for SQLAlchemy has been discussed for years in Python community but nothing has been done.
go to post Eduard Lebedyuk · Apr 22, 2020 Both suggested approaches offer a tight in-process way of InterSystems IRIS - Python integration. I will show some live examples of bidirectional InterSystems IRIS - Python integration in Best Practices for in-platform AI/ML Webinar.
go to post Eduard Lebedyuk · Apr 21, 2020 You can use PythonGateway or IRIS Native for Python to do that. PythonGateway can retrieve dataframe (any object really) as a JSON. Here's a corresponding discussion on the SQL side of things.
go to post Eduard Lebedyuk · Apr 20, 2020 Use Dynamic Gateway for Java. Does not require classes generation at all.
go to post Eduard Lebedyuk · Apr 16, 2020 Well, %Collection classes are the implementation of these constructs: Property X As List Of Type Relationships You can call their methods but do not explicitly create objects of these classes.
go to post Eduard Lebedyuk · Apr 15, 2020 There is actually. %GetSerial method builds a $lb from %ListOfDataTypes and %SetSerial does the reverse. Both of these methods are private though. You can subclass %ListOfDataTypes and publish them.
go to post Eduard Lebedyuk · Apr 15, 2020 I advice solving your problem by tightening security. Your app user should have access only to the tables needed for the application to run. If the user doesn't have any additional/admin roles, he won't see any other tables.
go to post Eduard Lebedyuk · Apr 15, 2020 I think fairly straightforward approach works best set l = ##class(%ListOfDataTypes).%New() do l.Insert(1) do l.Insert(2) do l.Insert(4) set lb = "" for i=1:1:l.Count() { set lb = lb _ $lb(l.GetAt(i)) } zw lb >lb=$lb(1,2,4)
go to post Eduard Lebedyuk · Apr 9, 2020 Consider using REST. Creating REST in InterSystems Cache 2017.2 is very easy.
go to post Eduard Lebedyuk · Apr 9, 2020 @Alexey Maslov, @Alexander Koblov RHEL8 is supported starting with InterSystems IRIS 2020.1.