Utility functions for USoft Default Providers

Previous Next

This section describes utility functions that you can use to:

Manage (open, close) connections to a Rules Engine.

Execute SQL statements (SELECT, INSERT, UPDATE, DELETE) against a Rules Engine.

Specify transaction behaviour (commit, rollback...) of a Rules Engine.

Use this help section if you want to:

Understand the code that USoft generates for you when you generate REST services from SQL.

Find out how you can customise this code, or how you can code the behaviour of service methods yourself.

Context

These utility functions may be called from code in the Implementation field of methods of:

REST services that have Functional Type = "USoft REST Default Provider".

SOAP services that have Functional Type = "USoft SOAP Default Provider".

WebSocket services that have Functional Type = "USoft Default Web Socket Provider"

Services (Other) that have Functional Type = "USoft Engine Task Provider"

 

These utility functions include:

openConnection()

sql()

getWarning()

hasWarningOccurred()

logout()

logout(String connectionName)

 

See also

Java interface for USoft Service Definer

Functional Types