aboutsummaryrefslogtreecommitdiff
path: root/odb/exceptions.hxx
AgeCommit message (Collapse)AuthorFilesLines
2013-02-09Update copyright yearBoris Kolpackov1-1/+1
2012-11-29Namespace management for static multi-database supportBoris Kolpackov1-1/+2
Now in libodb the odb::core namespace is split into odb::common (database- independent stuff) and odb::core proper, which imports odb::common. Each database runtime now defines odb::<db>::core namespace which also imports odb::common and adds the database-specific bits. The overall idea is that one can do using namespace odb::<db>::core just like for odb::core.
2012-10-19Completion of prepared query supportBoris Kolpackov1-0/+40
2012-04-23Polymorphic inheritance supportBoris Kolpackov1-0/+17
2012-03-06Detect situations where session is required but not usedBoris Kolpackov1-0/+7
Throw session_required.
2012-01-29Update copyright yearBoris Kolpackov1-1/+1
2012-01-29Remove author field from file headerBoris Kolpackov1-1/+0
Too much effort to maintain.
2011-11-01Implement support for optimistic concurrencyBoris Kolpackov1-0/+7
New pragmas: optimistic, version. New test: optimistic. New database function: reload().
2011-09-21Rework const object handlingBoris Kolpackov1-7/+0
Now objects are always loaded as non-const and the object cache in session treats all objects as non-const.
2011-03-01Add support for embedded database schemasBoris Kolpackov1-0/+25
New options: --schema-format, --default-schema. New example: schema/embedded.
2011-02-21Add recoverable, connection_lost, and timeout exceptionsBoris Kolpackov1-1/+20
The deadlock exception now inherits from recoverable. New manual section: 3.5, "Error Handling and Recovery".
2011-02-21Get rid of unnecessary qualificationBoris Kolpackov1-12/+12
2011-02-18Add odb::core namespace to be used in using-directivesBoris Kolpackov1-0/+19
Port all the examples and tests.
2011-01-04Copyright updateBoris Kolpackov1-1/+1
2010-12-01Implement not_null pointer pragmaBoris Kolpackov1-0/+6
New exception: null_pointer.
2010-11-22Add session, database operations on pointers and const objectsBoris Kolpackov1-0/+24
Currently, session is just an object cache. The persist, update, and erase database operations are overloaded to also work on object pointers. All the database operations and the query facility now support const objects. New session-related exceptions: not_in_session, already_in_session, const_object.
2010-09-26Fix a typoBoris Kolpackov1-1/+1
2010-09-23Add swap(), empty(), and size() to result class templateBoris Kolpackov1-0/+6
2010-09-13Make odb::exception abstractBoris Kolpackov1-0/+12
Implement what() in concrete exceptions.
2010-08-26Add support for creating other build systems (meta-building)Boris Kolpackov1-7/+13
Add support for automake, VC++ 9, and VC++ 10. Also add the Win32 and 'NULL' threading model implementations.
2010-08-20Add deadlock exceptionBoris Kolpackov1-6/+4
2010-07-20Get rid of the session mechanism for nowBoris Kolpackov1-8/+0
Add low-level API instead.
2010-06-04Initial implementationBoris Kolpackov1-0/+52