DbSequence::init_value |
#include <db_cxx.h>int DbSequence::init_value(db_seq_t value);
Set the initial value for a sequence. This call is only effective when the sequence is being created.
The DbSequence::init_value method may not be called after the DbSequence::open method is called.
The DbSequence::init_value method either returns a non-zero error value or throws an exception that encapsulates a non-zero error value on failure, and returns 0 on success.
The DbSequence::init_value method may fail and throw DbException, encapsulating one of the following non-zero errors, or return one of the following non-zero errors:
Copyright (c) 1996-2004 Sleepycat Software, Inc. - All rights reserved.