1 #ifndef INCLUDE_ORA_SEQUENCEMANAGER_H
2 #define INCLUDE_ORA_SEQUENCEMANAGER_H
6 #include <boost/shared_ptr.hpp>
15 class OraSequenceTable;
36 void create(
const std::string& sequenceName );
42 void sinchronize(
const std::string& sequenceName );
48 void erase(
const std::string& sequenceName );
55 boost::shared_ptr<OraSequenceTable>
m_table;
void sinchronize(const std::string &sequenceName)
SequenceManager(const std::string &tableName, coral::ISchema &schema)
virtual ~SequenceManager()
boost::shared_ptr< Sequences > m_impl
boost::shared_ptr< OraSequenceTable > m_table
int getNextId(const std::string &sequenceName, bool sinchronize=false)
void create(const std::string &sequenceName)
SequenceManager & operator=(const SequenceManager &rhs)
void erase(const std::string &sequenceName)