setUUID method

Sets the value for the specified column using a UUID.

Syntax
setUUID( UInt16 columnID, UUID value )
Parameters
  • columnID   The ID number of the column. The first column in the table has an ID value of one.

  • value   The new value for the column.

Remarks

The data in the row is not actually changed until you execute an insert or update, and that change is not permanent until it is committed. Only valid for columns of type SQLType.BINARY and length 16.

Example

The following statement sets a new UUID value for the first column in the table:

t.setUUID( 1, conn.getNewUUID(); );
See also