Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-01-12 | Cosmetic changes | Boris Kolpackov | 1 | -1/+1 | |
2012-01-12 | Add missing #include | Boris Kolpackov | 1 | -0/+2 | |
2011-12-21 | Do not select object id in container SELECT statement | Boris Kolpackov | 2 | -14/+36 | |
2011-12-05 | Bump version to 1.7.01.7.0 | Boris Kolpackov | 2 | -4/+4 | |
2011-12-05 | Add link to licensing overview page | Boris Kolpackov | 1 | -0/+6 | |
2011-11-28 | Add missing version.hxx include; correct export macro | Boris Kolpackov | 1 | -1/+2 | |
2011-11-17 | Remove unnecessary forward declaration | Boris Kolpackov | 1 | -1/+0 | |
2011-11-17 | Remove unnecessary includes | Boris Kolpackov | 3 | -4/+2 | |
2011-11-16 | Fix misspelled file name | Boris Kolpackov | 2 | -5/+5 | |
2011-11-09 | Avoid copying statement text if it is statically allocated | Boris Kolpackov | 2 | -35/+91 | |
2011-11-07 | Add support for SQL statement tracing | Boris Kolpackov | 13 | -38/+296 | |
2011-11-03 | Add support for mapping char[N] and unsigned char[N] types to BLOB1.7.0.a1 | Boris Kolpackov | 2 | -2/+77 | |
New test: common/blob. | |||||
2011-11-03 | Add support for mapping std::vector<unsigned char> to BLOB types | Boris Kolpackov | 2 | -1/+58 | |
2011-11-02 | Bump version to 1.7.0.a1 | Boris Kolpackov | 2 | -4/+4 | |
2011-11-02 | Optimize load_id(), load() sequence for SQLite and PostgreSQL | Boris Kolpackov | 2 | -3/+4 | |
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 | -11/+94 | |
New pragmas: optimistic, version. New test: optimistic. New database function: reload(). | |||||
2011-10-30 | Rework statement interfaces wrt param/result passing | Boris Kolpackov | 4 | -43/+51 | |
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 | 9 | -44/+330 | |
New pragma id (object). New test: common/no-id. | |||||
2011-10-21 | Add support for const data members | Boris Kolpackov | 1 | -2/+2 | |
Const data members are automatically treated as readonly. New test: const-member. | |||||
2011-10-21 | Split 'in' binding into insert/update pair; rename 'out' to select | Boris Kolpackov | 4 | -95/+113 | |
Also add the initial infrastructure for the readonly members support. Right now the split insert/update bindings allows us to avoid sending object id in UPDATE statements. It will also allows us to support readonly members. | |||||
2011-10-19 | Mention autotools as prerequisite in INSTALL-GIT | Boris Kolpackov | 1 | -1/+6 | |
2011-10-03 | Work around bug in Sun CC1.6.01.6 | Boris Kolpackov | 3 | -4/+17 | |
2011-10-03 | Export query operators that were made non-inline | Boris Kolpackov | 1 | -3/+3 | |
2011-10-03 | Bump version to 1.6.0 | Boris Kolpackov | 2 | -4/+4 | |
2011-10-02 | If query substituting placeholder is empty, pass true expression instead | Boris Kolpackov | 2 | -58/+142 | |
This allows uniform usage of views both with and without any extra conditions. Also optimize some common cases so that we don't have useless WHERE TRUE clauses or (...) AND (TRUE) expressions. | |||||
2011-09-22 | Add const char[n] value_traits specialization in addition to char[n]1.6.0.a2 | Boris Kolpackov | 1 | -0/+11 | |
2011-09-21 | Rework const object handling | Boris Kolpackov | 2 | -7/+7 | |
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 | -4/+4 | |
2011-09-19 | Add assertion for mismatch of result set column count in MySQL and SQLite | Boris Kolpackov | 1 | -0/+7 | |
This is useful for detecting native views that happened to have stray data members. Also update comment in PostgreSQL. | |||||
2011-09-16 | Support for views; integrated part | Boris Kolpackov | 6 | -42/+135 | |
2011-09-09 | New templated query_columns architecture | Boris Kolpackov | 3 | -62/+77 | |
We also now use the correct separate "role"-base join approach instead of having a single merged join for each table. | |||||
2011-09-06 | Support for views; native part | Boris Kolpackov | 15 | -87/+537 | |
2011-09-06 | Allow select statement without parameters | Boris Kolpackov | 2 | -3/+18 | |
2011-08-30 | Add comment with some explanations | Boris Kolpackov | 1 | -0/+4 | |
2011-08-30 | Implement uniform handle management across all databases | Boris Kolpackov | 5 | -21/+129 | |
Also use the auto_handle template instead of the raw handle in connection, statement, and result classes. This removes a lot of brittle "exception safety guarantee" code that we had in those classes. | |||||
2011-08-30 | Add default value for extra_flags argument | Boris Kolpackov | 2 | -3/+3 | |
2011-08-28 | Add create() hook to connection factories | Boris Kolpackov | 2 | -36/+75 | |
This will allow the user to either establish the connection themselves (using the handle c-tor) and/or configure the connection post-creation. | |||||
2011-08-28 | Add support for creating connection from existing handle | Boris Kolpackov | 2 | -2/+26 | |
This will allow for custom connection establishment and configuration. | |||||
2011-08-24 | Add support for transaction multiplexing | Boris Kolpackov | 8 | -39/+64 | |
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 | -4/+4 | |
2011-08-22 | Enable foreign key constraints checking in SQLite | Boris Kolpackov | 3 | -2/+26 | |
Due to bugs in SQLite DDL foreign key support, we have to temporarily disable foreign keys when re-creating the schema. New manual section: 12.5.3, "Foreign Key Constraints". | |||||
2011-08-21 | Add odb::connection class | Boris Kolpackov | 10 | -70/+127 | |
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-19 | Rework query machinery not to use '_' as primary table alias | Boris Kolpackov | 3 | -66/+151 | |
Now we always qualify with the actual table name and use the '_' alias for situations where an object is referencing itself. | |||||
2011-08-18 | Fix custom recursive loading in post_load callback | Boris Kolpackov | 4 | -3/+45 | |
Before we called the callback while holding the statements locked. As a result, if the callback tried to load another object of this type, it failed. Now we unlock the statements (since we have completely loaded the object from ODB's point of view) and then call the callback. The callback test has been updated to test this situation. | |||||
2011-08-04 | Merge branch 'wrapper' | Boris Kolpackov | 1 | -1/+118 | |
2011-08-04 | Add support for value wrappers | Boris Kolpackov | 1 | -1/+118 | |
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-31 | Minor optimization | Boris Kolpackov | 1 | -1/+1 | |
2011-07-28 | Add value_traits specializations for std::vector<char> | Boris Kolpackov | 2 | -0/+56 | |
This allows using it as a buffer for BLOB mapping. | |||||
2011-07-27 | Bump version to 1.6.0 | Boris Kolpackov | 2 | -4/+4 | |