xpxGetTransactionState


 

FUNCTION xpxGetTransactionState (VAR EDMexpressVMthreads                    : INTEGER;
                                 VAR activeTransactions                     : INTEGER;
                                 VAR startedTransactionsInCurrentThread     : INTEGER;
                                 VAR startedTransactionsOutsideEDMexpressVM : INTEGER;
                                 VAR EDMexpressVMthreadsName                : LIST OF STRING;
                                 VAR modelsInWriteTransaction               : SET OF GENERIC)
                                 status                                     : INTEGER;

The function xpxGetTransactionState is implemented to ease the transaction handling when using nested queries, or more general, to ease the transaction handling in multiple EDMexpressVMTM threads processes. Each "execute query", "validation", "mapping" and "calculate a derive attribute" process starts an EDMexpressVMTM thread. The number of arguments are fixed, but the arguments EDMexpressVMthreadsName  and modelsInWriteTransaction are optional, i.e., can be specified as (question) (INDETERMINATE).

Arguments


TypeNameComment
INTEGEREDMexpressVMthreadscomment
INTEGERactiveTransactions 
INTEGERstartedTransactionsInCurrentThread 
INTEGERstartedTransactionsOutsideEDMexpressVM 
LIST OF STRINGEDMexpressVMthreadsName(OPTIONAL).

The format of the elements in the EDMexpressVMthreadsName  argument is:

  • "QEX.ExpressSchemaName.QuerySchemaName.QueryName(#780000)"  The "#790000" is the actual modelId to run the query on.
  • "XPX:MappinSchemaName((#12345,#6789) -> #101112)" means convert models #12345 and #6789 as source models and model #101112 being the target model using the given mapping schema
  • "VAL:ExpressSchema.RuleSchema(#99999)" Validation of model #99999. The RuleSchema is optional.
  • "DER:ExpressSchema.Entity.Attribute(#888888)"   Calculating the value of the listed derive attribute for instance #888888                                

 

SET OF GENERICmodelsInWriteTransaction(OPTIONAL)

Return Value


Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_XPX_Return_Value'.

Options


 

Example


<Missing Example>

 

See also

Filter by label

There are no items with the selected labels at this time.

Â