aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-09-20Bump version to 1.6.0.a2Boris Kolpackov2-5/+5
2011-09-20Change query syntax to use . for composite and -> for object pointer accessBoris Kolpackov1-0/+18
Also make non-inverse query columns act as both an object pointer and a normal column. The latter allows us to use natural expressions such as query<employee>::employer.is_null ().
2011-09-09New templated query_columns architectureBoris Kolpackov1-12/+13
We also now use the correct separate "role"-base join approach instead of having a single merged join for each table.
2011-09-05Support for views; native partBoris Kolpackov11-354/+893
2011-09-05Use more descriptive names in details/meta/Boris Kolpackov8-64/+67
2011-08-28Make sure underlying value is in default-constructed state if nullable is NULLBoris Kolpackov1-6/+3
2011-08-24Add support for transaction multiplexingBoris Kolpackov4-28/+71
Also delay getting a connection until after we do all the sanity checks (e.g., that there is no active transaction). Otherwise we are running risk of getting blocked rather than throwing an exception.
2011-08-22Bump version to 1.6.0.a11.6.0.a1Boris Kolpackov2-5/+5
2011-08-22Add database::erase_query() functionBoris Kolpackov3-0/+66
New test: common/erase-query. Documentation is in Section 3.9, "Deleting Persistent Objects". The current implementation does not work well with the session (no removal of the erased objects from the cache).
2011-08-21Add odb::connection classBoris Kolpackov10-7/+197
This abstract class represents a connection to the database. One can use it to start a transaction or to execute a native statement out of a transaction. Before we had concrete connection classes in the database runtime libraries (e.g., odb::mysql::connection). Now these classes derive from odb::connection.
2011-08-21Add support for multi-pass database schema dropBoris Kolpackov2-6/+24
2011-08-04Add support for value wrappersBoris Kolpackov4-0/+455
Wrapper is a class that wraps another type. Examples of wrappers are various smart pointers, holders, etc. A wrapper can be transparent or it can handle the NULL semantics. The new odb::nullable class template is a NULL wrapper that helps to add the NULL semantics to a value type. New test: common/wrapper.
2011-07-27Bump version to 1.6.0Boris Kolpackov2-5/+5
2011-07-25Bump version to 1.5.01.5.0Boris Kolpackov2-5/+5
2011-07-23Provide different implementations for ODB_POTENTIALLY_UNUSEDBoris Kolpackov1-1/+9
The same approach does not work for VC++ and GCC.
2011-07-23Change unused macro to use a void pointer instead of a referenceConstantin Michael1-1/+1
2011-07-05Add support for multi-pass database schema generationBoris Kolpackov2-5/+20
2011-07-05Aesthetic changesConstantin Michael1-1/+2
2011-07-05Convert buffer to templated basic_bufferConstantin Michael2-23/+31
2011-07-04Implement support for database operations callbacksBoris Kolpackov3-21/+84
New object pragma: callback. New test: common/callback. New manual section: 10.1.4, "callback".
2011-04-26Bump version to 1.4.01.4.0Boris Kolpackov2-5/+5
2011-04-22Refactor such that const keyword always precedes type that it qualifiesConstantin Michael5-17/+17
2011-04-18Fix loaded() function in lazy_ptr to conform to documentationBoris Kolpackov7-14/+66
2011-04-05Bump version to 1.3.01.3.0Boris Kolpackov2-5/+5
2011-03-31Bump version to 1.3.0.b1Boris Kolpackov2-5/+5
2011-03-28Forward-declare result class templateBoris Kolpackov1-0/+4
2011-03-25Add support for forward-declaring shared_base-based typesBoris Kolpackov6-9/+58
The forward declaration must specialize the counter_type template to explicitly specify shared_base as the counter type.
2011-03-16Make sure we can free memory even in case of "unsafe" DLL termination1.2.0Boris Kolpackov1-11/+18
2011-03-15Change shared_ptr callback interface to work in mt-environmentBoris Kolpackov2-5/+5
2011-03-15Bump version to 1.2.0Boris Kolpackov2-5/+5
2011-03-01Add support for embedded database schemasBoris Kolpackov6-6/+202
New options: --schema-format, --default-schema. New example: schema/embedded.
2011-02-21Add recoverable, connection_lost, and timeout exceptionsBoris Kolpackov2-1/+32
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 Kolpackov6-0/+48
Port all the examples and tests.
2011-02-15Get rid of build version in INSTALL-GIT (just use latest)Boris Kolpackov1-1/+1
2011-02-01Cosmetic changesBoris Kolpackov2-4/+4
2011-01-24Rearrange function order to suppress MinGW export warnings1.1.0Boris Kolpackov1-37/+37
2011-01-24Add dummy source file for DLL exportBoris Kolpackov2-5/+18
2011-01-24Workaround for VC 10Boris Kolpackov1-8/+11
2011-01-24Bump version to 1.1.0Boris Kolpackov2-5/+5
2011-01-18Add support for native SQL statement executionBoris Kolpackov2-0/+27
New test: mysql/native. New manual section: 3.9, "Executing Native SQL Statements".
2011-01-07Cosmetic changesBoris Kolpackov1-1/+1
2011-01-04Copyright updateBoris Kolpackov127-126/+136
2010-12-13Add a wrapper header for TR1 <memory>Boris Kolpackov1-0/+39
2010-12-10Cosmetic changesBoris Kolpackov1-3/+4
2010-12-09Cosmetic change (rename naked pointer to raw pointer)Boris Kolpackov4-14/+14
2010-12-09Cosmetic changesBoris Kolpackov1-1/+1
2010-12-09Add lazy pointer supportBoris Kolpackov14-3/+2260
Built-in support is provided for raw, auto, and tr1 shared/weak pointers. New test: common/lazy-ptr.
2010-12-01Implement not_null pointer pragmaBoris Kolpackov2-0/+12
New exception: null_pointer.
2010-11-30Cosmetic changesBoris Kolpackov1-0/+2