Home > Contents > Index >
CATALOGMANAGER.commit
Commits a record from a tracked table into the RevisionTracking subsystem using the
CATALOGMANAGER
command.Syntax
<CATALOGMANAGER>
<ARGUMENT NAME="ftcmd" VALUE="commit" /> <ARGUMENT NAME="tablename" VALUE="table" /> <ARGUMENT NAME="asset" VALUE="primarykey"/> [<ARGUMENT NAME="checkout" VALUE="true or false"]/> [<ARGUMENT NAME="annotation" VALUE="comment"]/></CATALOGMANAGER>Parameters
ftcmd (required)
- Value must be set to
commit
.tablename (required)
- Name of the table.
asset (required)
- Value of the primary key for the row to commit.
checkout (optional)
- Indicates lock status of record after commit. Set value to
true
to indicate the record are still locked by user after the commit. This parameter has a default value of false.annotation (optional)
- Comment describing the new revision.
Description
The
commit
command commits a record from a tracked table into the RevisionTracking subsystem. The current user must have the record locked and have write access to the tracked table to perform this operation.Error Numbers
The possible values of
errno
include:
Value Description -103 No such table. -104 No table definition. -105 Database error.Example
This example commits the locked record whose primary key value is
95137
.<SETVAR NAME="errno" VALUE="0"/> <CATALOGMANAGER> <ARGUMENT NAME="ftcmd" VALUE="commit"/> <ARGUMENT NAME="tablename" VALUE="movies" /> <ARGUMENT NAME="asset" VALUE="95137" /> <ARGUMENT NAME="annotation" VALUE="fix typo"/> </CATALOGMANAGER> <IF COND="IsError.Variables.errno=true"> <THEN> <!--Handle error--> </THEN> </IF>See Also
The following
CATALOGMANAGER
commands:
Home > Contents > Index > ![]()
Oracle XML Tag Reference
Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.