aboutsummaryrefslogtreecommitdiff
path: root/odb
AgeCommit message (Collapse)AuthorFilesLines
2012-09-16Add support for Visual Studio 20122.1.0Boris Kolpackov3-1/+201
2012-09-14Indicate value cannot be NULL when initializing query parameter imageBoris Kolpackov1-30/+30
2012-09-14Bump version to 2.1.0Boris Kolpackov1-3/+3
2012-09-11Add support for mapping std::array to BLOB and char[16] to UUID typesBoris Kolpackov1-15/+153
2012-07-27Bump version to 2.1.0.a22.1.0.a2Boris Kolpackov1-3/+3
2012-07-27Handle special case of array of zero elementsBoris Kolpackov1-4/+8
2012-07-25Clean up PostgreSQL auto id implementationBoris Kolpackov1-6/+8
Specifically, avoid sending the auto id value.
2012-07-17Get rid of warning2.1.0.a1Boris Kolpackov1-1/+1
2012-07-17Bump version to 2.1.0.a1Boris Kolpackov1-3/+3
2012-07-16Simplify query inheritance hierarchyBoris Kolpackov1-8/+9
This should also allow Sun CC handle queries for objects with circular dependencies.
2012-07-16Fix constructor call ambiguity in odb::pgsql::databaseBoris Kolpackov1-2/+2
2012-07-10Add support for custom database type mappingBoris Kolpackov5-44/+137
New pragma qualifier, map, and specifiers: as, to, from. New tests: <database>/custom.
2012-06-18Bump version to 2.0.12.0.1Boris Kolpackov1-2/+2
2012-06-18Allocate container traits lazily and only when their definition is seenBoris Kolpackov4-6/+58
This fixes a problem with polymorphic hierarchies spread over multiple files in which case the source code for the derived class does not have the definition of the container traits for the base class. See the comment in the source code for further details.
2012-04-29Bump version to 2.0.02.0.0Boris Kolpackov1-3/+3
2012-04-29Make transaction_impl sanity check optional, use assertBoris Kolpackov1-1/+3
2012-04-26Replace remaining std::auto_ptr uses with odb::details::unique_ptrBoris Kolpackov1-3/+2
GCC in C++11 mode issues a deprecation warning for std::auto_ptr.
2012-04-26Make session optionalBoris Kolpackov3-10/+8
2012-04-23Polymorphic inheritance supportBoris Kolpackov23-537/+1588
2012-03-07Use RAII to free select statement resultsBoris Kolpackov3-0/+28
2012-03-02Bump version to 1.9.0.a1Boris Kolpackov1-3/+3
2012-03-02Reimplement C++11 support to be header-onlyBoris Kolpackov2-11/+6
This way, the same build of the runtime libraries can be used in both C++98 and C++11 modes. This is important for when runtimes are installed or packaged.
2012-03-02Fix array subscript overflowBoris Kolpackov1-1/+3
2012-03-01Add support for using C++11 std::unique_ptr to pass connection factoryBoris Kolpackov2-18/+26
2012-02-22Add support for composite object idsBoris Kolpackov3-4/+4
New pragma id_type (member). New test: common/composite-id. The composite example has also been updated.
2012-02-10Don't allocate unnecessary entries in container truncation arrayBoris Kolpackov2-14/+7
2012-01-29Bump version to 1.8.01.8.0Boris Kolpackov1-3/+3
2012-01-29Update copyright yearBoris Kolpackov61-61/+61
2012-01-29Remove author field from file headerBoris Kolpackov61-63/+1
Too much effort to maintain.
2012-01-26Implement support for database schemaBoris Kolpackov1-4/+2
New pragma qualifier: namespace. New pragma specifier: schema. The table specifier was extended to accept a schema prefix. New option: --default- schema. The common/schema test was extended to cover the new functionality.
2012-01-12Cosmetic changesBoris Kolpackov1-1/+1
2012-01-12Add missing #includeBoris Kolpackov1-0/+2
2011-12-21Do not select object id in container SELECT statementBoris Kolpackov2-16/+38
2011-12-05Bump version to 1.7.01.7.0Boris Kolpackov1-3/+3
2011-12-01Detect and mark connection as failedBoris Kolpackov5-26/+28
2011-11-28Add missing version.hxx include; correct export macroBoris Kolpackov1-1/+2
2011-11-17Remove unnecessary forward declarationBoris Kolpackov1-1/+0
2011-11-17Remove unnecessary includesBoris Kolpackov4-7/+0
2011-11-16Fix misspelled file nameBoris Kolpackov2-5/+5
2011-11-16Add missing comma in option documentationBoris Kolpackov1-5/+5
2011-11-09Avoid copying statement text if it is statically allocatedBoris Kolpackov4-44/+234
2011-11-07Add support for SQL statement tracingBoris Kolpackov12-6/+289
2011-11-03Add support for mapping char[N] and unsigned char[N] types to BLOB1.7.0.a1Boris Kolpackov2-2/+77
New test: common/blob.
2011-11-03Add support for mapping std::vector<unsigned char> to BLOB typesBoris Kolpackov2-1/+58
2011-11-02Bump version to 1.7.0.a1Boris Kolpackov1-3/+3
2011-11-02Optimize load_id(), load() sequence for SQLite and PostgreSQLBoris Kolpackov2-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-01Implement support for optimistic concurrencyBoris Kolpackov4-36/+133
New pragmas: optimistic, version. New test: optimistic. New database function: reload().
2011-10-30Rework statement interfaces wrt param/result passingBoris Kolpackov4-110/+104
2011-10-28Implement returning of auto id using RETURNING clause in PostgreSQLBoris Kolpackov4-28/+53
Before we used a separate SELECT lastval() query which was both inefficient and error-prone in cases where INSERT may cause triggers to override the last value.
2011-10-27Make sure output directory exist before generating config.hBoris Kolpackov1-1/+1