Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-11-02 | Optimize load_id(), load() sequence for SQLite and PostgreSQL | Boris Kolpackov | 2 | -3/+9 | |
In these databases both of these functions load the data into the object image. If there is no chance of image overwrite between these calls, then we don't need to load the image the second time. | |||||
2011-11-01 | Implement support for optimistic concurrency | Boris Kolpackov | 4 | -5/+34 | |
New pragmas: optimistic, version. New test: optimistic. New database function: reload(). | |||||
2011-10-27 | Make sure output directory exist before generating config.h | Boris Kolpackov | 1 | -1/+1 | |
2011-10-27 | Add support for persistent classes without object ids | Boris Kolpackov | 7 | -77/+398 | |
New pragma id (object). New test: common/no-id. | |||||
2011-10-26 | Correct typo | Constantin Michael | 1 | -1/+1 | |
2011-10-24 | Add comment | Boris Kolpackov | 1 | -0/+5 | |
2011-10-21 | Add support for const data members | Boris Kolpackov | 2 | -13/+43 | |
Const data members are automatically treated as readonly. New test: const-member. | |||||
2011-10-21 | Add support for readonly members | Boris Kolpackov | 1 | -0/+10 | |
New pragma: readonly. New test: readonly. | |||||
2011-10-21 | Do not allocate memory for buffer if constructed with zero capacity | Constantin Michael | 1 | -2/+2 | |
2011-10-21 | Allow specification of buffer capacity on construction defaulting to 256 bytes | Constantin Michael | 1 | -2/+7 | |
2011-10-19 | Mention autotools as prerequisite in INSTALL-GIT | Boris Kolpackov | 1 | -3/+9 | |
2011-10-03 | Bump version to 1.6.01.6.01.6 | Boris Kolpackov | 2 | -5/+5 | |
2011-09-22 | Make common result implementation instead of separate for views and objects1.6.0.a2 | Boris Kolpackov | 3 | -307/+173 | |
2011-09-22 | Workaround for VC9 | Boris Kolpackov | 1 | -5/+13 | |
2011-09-22 | Workaround for VC9 | Boris Kolpackov | 2 | -2/+2 | |
2011-09-22 | Workaround for Sun CC | Boris Kolpackov | 2 | -2/+2 | |
2011-09-21 | Rework const object handling | Boris Kolpackov | 16 | -227/+216 | |
Now objects are always loaded as non-const and the object cache in session treats all objects as non-const. | |||||
2011-09-20 | Bump version to 1.6.0.a2 | Boris Kolpackov | 2 | -5/+5 | |
2011-09-20 | Change query syntax to use . for composite and -> for object pointer access | Boris Kolpackov | 1 | -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-09 | New templated query_columns architecture | Boris Kolpackov | 1 | -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-05 | Support for views; native part | Boris Kolpackov | 11 | -354/+893 | |
2011-09-05 | Use more descriptive names in details/meta/ | Boris Kolpackov | 8 | -64/+67 | |
2011-08-28 | Make sure underlying value is in default-constructed state if nullable is NULL | Boris Kolpackov | 1 | -6/+3 | |
2011-08-24 | Add support for transaction multiplexing | Boris Kolpackov | 4 | -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-22 | Bump version to 1.6.0.a11.6.0.a1 | Boris Kolpackov | 2 | -5/+5 | |
2011-08-22 | Add database::erase_query() function | Boris Kolpackov | 3 | -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-21 | Add odb::connection class | Boris Kolpackov | 10 | -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-21 | Add support for multi-pass database schema drop | Boris Kolpackov | 2 | -6/+24 | |
2011-08-04 | Add support for value wrappers | Boris Kolpackov | 4 | -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-27 | Bump version to 1.6.0 | Boris Kolpackov | 2 | -5/+5 | |
2011-07-25 | Bump version to 1.5.01.5.0 | Boris Kolpackov | 2 | -5/+5 | |
2011-07-23 | Provide different implementations for ODB_POTENTIALLY_UNUSED | Boris Kolpackov | 1 | -1/+9 | |
The same approach does not work for VC++ and GCC. | |||||
2011-07-23 | Change unused macro to use a void pointer instead of a reference | Constantin Michael | 1 | -1/+1 | |
2011-07-05 | Add support for multi-pass database schema generation | Boris Kolpackov | 2 | -5/+20 | |
2011-07-05 | Aesthetic changes | Constantin Michael | 1 | -1/+2 | |
2011-07-05 | Convert buffer to templated basic_buffer | Constantin Michael | 2 | -23/+31 | |
2011-07-04 | Implement support for database operations callbacks | Boris Kolpackov | 3 | -21/+84 | |
New object pragma: callback. New test: common/callback. New manual section: 10.1.4, "callback". | |||||
2011-04-26 | Bump version to 1.4.01.4.0 | Boris Kolpackov | 2 | -5/+5 | |
2011-04-22 | Refactor such that const keyword always precedes type that it qualifies | Constantin Michael | 5 | -17/+17 | |
2011-04-18 | Fix loaded() function in lazy_ptr to conform to documentation | Boris Kolpackov | 7 | -14/+66 | |
2011-04-05 | Bump version to 1.3.01.3.0 | Boris Kolpackov | 2 | -5/+5 | |
2011-03-31 | Bump version to 1.3.0.b1 | Boris Kolpackov | 2 | -5/+5 | |
2011-03-28 | Forward-declare result class template | Boris Kolpackov | 1 | -0/+4 | |
2011-03-25 | Add support for forward-declaring shared_base-based types | Boris Kolpackov | 6 | -9/+58 | |
The forward declaration must specialize the counter_type template to explicitly specify shared_base as the counter type. | |||||
2011-03-16 | Make sure we can free memory even in case of "unsafe" DLL termination1.2.0 | Boris Kolpackov | 1 | -11/+18 | |
2011-03-15 | Change shared_ptr callback interface to work in mt-environment | Boris Kolpackov | 2 | -5/+5 | |
2011-03-15 | Bump version to 1.2.0 | Boris Kolpackov | 2 | -5/+5 | |
2011-03-01 | Add support for embedded database schemas | Boris Kolpackov | 6 | -6/+202 | |
New options: --schema-format, --default-schema. New example: schema/embedded. | |||||
2011-02-21 | Add recoverable, connection_lost, and timeout exceptions | Boris Kolpackov | 2 | -1/+32 | |
The deadlock exception now inherits from recoverable. New manual section: 3.5, "Error Handling and Recovery". | |||||
2011-02-21 | Get rid of unnecessary qualification | Boris Kolpackov | 1 | -12/+12 | |