Open topic with navigation

TIBCO BusinessEvents® Enterprise Edition 6.3.1

# update()

The `Database.update()` function updates the database with values contained in the concept.

Tip: XMLType In order to update an Oracle Database table column of datatype `XMLType` with a string value greater than 4,000 characters, you must add the following Oracle JAR files to BE_HOME/lib/ext:

- ORACLE_HOME`/rdbms/jlib/xdb.jar`
- ORACLE_HOME`/lib/xmlparserv2.jar`

## Example

    try
      {
       Database.setCurrentConnection ("/MyDbConnection");
       Database.beginTranscation ();
       /*the instance passed to update operation is an instance of the      dbconcept*/
       Database.update(instance)
       Database.commit();
      }
    catch (Exception e)
      {
        Database.rollback();
      }
    finally
      {
        Database.unsetConnection();
      }

Did you find this helpful?

YesNo
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO BusinessEvents® Enterprise Edition

Copyright © 2004-2024. Cloud Software Group, Inc. All Rights Reserved.