7 namespace persistency {
22 std::vector<std::tuple<std::string, std::string, std::string> >
tagListBuffer;
47 if (!
m_session->gtSchema().gtTable().select(
49 throwException(
"Global Tag \"" + gtName +
"\" has not been found in the database.",
"GTEditor::load");
86 return m_data.get() ?
m_data->snapshotTime : boost::posix_time::ptime();
108 if (rlabel.empty()) {
119 if (
m_data->description.empty())
120 throwException(
"A non-empty Description string is mandatory.",
"GTEditor::flush");
121 if (
m_data->release.empty())
122 throwException(
"A non-empty Release string is mandatory.",
"GTEditor::flush");
135 if (!
m_data->tagListBuffer.empty()) {
138 m_data->tagListBuffer.clear();
149 if (!
m_session->isTransactionActive(
false))