In addition to the standard properties, CentraSite offers the following properties for parameterizing XQJ connections. Note that user credentials, i.e. user-ID and password, are passed via standard properties, as shown below:
Property
|
Description
|
javax.xml.xquery.property.UserName |
Unique user ID for connecting to the registry/repository. |
javax.xml.xquery.property.Password |
The password for the specified user ID. |
javax.xml.xquery.property.MaxConnections |
The maximum number of open connections that can be established from the datasource. |
Property
|
Description
|
com.softwareag.tamino.xqj.dbUri |
Mandatory. The URI of the database to which the user is connecting. This information is mandatory to connect to the datasource, which is the CentraSite registry/repository in this context. |
com.softwareag.tamino.xqj.defaultCollection |
Mandatory. The name of the collection in the registry/repository that the user will access to query, update, or insert a document. |
com.softwareag.tamino.xql.locale |
The locale to be set for the connection. |
com.softwareag.tamino.xqj.isolationLevel |
Together with the _lockMode
parameter, this parameter specifies the way in which two or more transactions
in a session context can access the same data simultaneously. The isolation
level can be set to "None".
|
com.softwareag.tamino.xqj.lockMode |
Together with the
_isolationLevel parameter, this parameter specifies the
way in which two or more transactions in a session context can access the same
data simultaneously.
|
com.softwareag.tamino.xqj.lockWait |
The action to be taken if data is not accessible
to the current transaction because another transaction has used the
_isolationLevel or _lockMode
parameter to restrict access to the data.
|
com.softwareag.tamino.xqj.fetchSize |
The number of records to be retrieved at a time for display. This property accepts an integer value. |
com.softwareag.tamino.xqj.sensitive |
The parameter _sensitive is
required when opening a cursor with _xquery. Valid values are
"no" and "vague". If you
specify "_sensitive=no", an insensitive cursor is
opened. This means that the query is calculated on a fixed input when the
cursor is opened, and thus the result sequence remains unchanged as long as the
cursor is active. If you specify "_sensitive=vague",
a vague cursor is opened. The query is calculated on an input that takes
modification operations of parallel transactions into account. Thus, the result
sequence can vary during the lifetime of the cursor if documents that match the
original query criteria are inserted, updated or deleted in the
meantime.
|
com.softwareag.tamino.xqj.nonactivityTimeout |
The non-activity timeout in seconds. |