Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Warning

Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8 for Server/Data Center? Click here !

Info
titleAvailability

This routine is available starting with katl-commons SIL Engine™ 3.0.3.

Syntax

sqlCallStoredProcedure(datasourceName, procedureName, [...])

...

Excerpt

Executes the stored procedure over the defined datasource name / JNDI datasource.

Parameters

Parameter name

Type

Required

Description

datasourceName

string

yes

The datasource

Datasource name / JNDI name. For

JIRA

Jira database, this is set to "jdbc/JiraDS" by default.

procedureName

string

yes

the stored

Stored procedure name

...

.


The routine accepts multiple parameters, in this case the sql statement being pushed as prepared into to the database (check the second example . Check Example 2 below for right syntax)

Returns

string []

Example

...

Where addComponent(String id,  String name) is a stored procedure existing in myDB database.

Notes

Note

To see how you should configure the data source , check the corresponding configuration chapter: SQL data sources configuration chapter.

See also

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "sql_support"
labelssql_support