Skip to content
Snippets Groups Projects
Commit 2346e555 authored by Steven Murray's avatar Steven Murray
Browse files

Made OcciStmt::connShouldBeClosed() public

parent 6eede1ad
Branches
Tags
No related merge requests found
......@@ -164,6 +164,15 @@ public:
*/
void setColumn(OcciColumn &col);
/**
* Determines whether or not the connection should be closed based on the
* specified Oracle exception.
*
* @param ex The Oracle exception.
* @return True if the connection should be closed.
*/
static bool connShouldBeClosed(const oracle::occi::SQLException &ex);
private:
/**
......@@ -181,15 +190,6 @@ private:
*/
oracle::occi::Statement *m_stmt;
/**
* Determines whether or not the connection should be closed based on the
* specified Oracle exception.
*
* @param ex The Oracle exception.
* @return True if the connection should be closed.
*/
static bool connShouldBeClosed(const oracle::occi::SQLException &ex);
}; // class OcciStmt
} // namespace wrapper
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment