The pre-commit function is a server scoped function that flushes the instances in the current transaction to the persistence layer and locks them to the current transaction. If another transaction tries to read this resource, it either reads stale data or is denied access. Difference between commit and pre-commit functions The pre-commit function flushes a … Read more
NexJ Scheme is NexJ’s scripting language, which is based on and extends Scheme R(6)RS. The at sign (“@”) is a special macro in NexJ Scheme, and provides a special way of accessing a value through associations relative to this pointer and much more. This table summarizes the most common use cases of the @ macro … Read more
In NexJ Studio, it is possible to provide record-level view security on any class. This means it’s possible to handle scenarios where we want only non-deleted employee records to be visible to all non-admin users, while admin users should be able to see all the employee records. Record-level view security is set by specifying the … Read more
A message (Transfer Object) contains a unit of information with a message as its root and a hierarchy of messages, collections of messages, or primitive values (where primitive values are defined by a pair consisting of a named attribute with a value for the primitive). This message can be passed to another function or system. … Read more
If you accidentally strip a patch and do not have a backup for it, you can still recover your files using Mercurial. To recover your files: Open a Microsoft Windows Command Prompt window. Navigate to the project folder where you stripped the files. Run the dir Navigate to the .hg folder where Mercurial stores all … Read more
The NexJ framework allows you to create an interface between external web pages and NexJ servers through channels and services. You can create a channel to handle incoming HTTP messages, pass them to a service for work to be done, and then send responses back to the sender. You can also create a service to … Read more
Recently a question came up on the best way to read from one table, make some changes to the data, then write to another table. This is a great opportunity for me to shed a bit of light on how ETL Activities work. My example is a simple one. For more complex examples, just look … Read more
Some background First of all, what is a lazy load and why do I care? The NexJ Framework read event is at the same time very forgiving as well as demanding. What it demands of you is that you tell it exactly what you want. There is no equivalent wildcard like what is commonly found … Read more