aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)AuthorFilesLines
2012-07-17Disable foreign keys for MySQL and SQLite while creating schemaBoris Kolpackov1-1/+21
2012-07-16Fix code generation for circularly-dependant classes in separate headersBoris Kolpackov10-0/+396
New tests: common/circular/{single,multiple}.
2012-04-29Factor TR1/C++11 shared_ptr test into separate object2.0.0Boris Kolpackov2-53/+70
The current approach causes problems with foreign key constraints during table dropping.
2012-04-27Support for NULL value semantics for composite valuesBoris Kolpackov2-0/+128
2012-04-27Add support for NULL pointers to objects with composite object idsBoris Kolpackov2-1/+124
2012-04-26Add test for readonly object with auto idBoris Kolpackov2-1/+39
2012-04-26Add database::reset()Boris Kolpackov2-0/+15
2012-04-26Make session optionalBoris Kolpackov15-15/+14
2012-04-25Fix auto id handling in polymorphic objectsBoris Kolpackov2-1/+98
2012-04-23Assign table prefix to namespace instead of to each classBoris Kolpackov1-9/+16
2012-04-23Polymorphic inheritance supportBoris Kolpackov13-23/+3052
2012-03-07Use RAII to free select statement resultsBoris Kolpackov3-9/+42
2012-03-06Add missing test to top-level makefileBoris Kolpackov1-0/+1
2012-03-06Detect situations where session is required but not usedBoris Kolpackov4-0/+262
Throw session_required.
2012-03-02Workaround for VC10 unordered container ordering bug/peculiarityBoris Kolpackov1-4/+4
2012-03-02C++11 support in automake and VC++ projects, portability fixesBoris Kolpackov4-6/+11
2012-03-01Make sure we have same container members in all configurationsBoris Kolpackov2-0/+23
2012-02-29Support for C++11 containers (array, forward_list, unordered)Boris Kolpackov2-2/+299
2012-02-29Support for C++11 std::unique_ptr and std::shared_ptr as wrappersBoris Kolpackov2-28/+56
2012-02-29Support for C++11 std::unique_ptr as object pointerBoris Kolpackov4-85/+156
This includes the odb::lazy_unique_ptr implementation.
2012-02-28Test std::shared_ptr in C++11 mode and std::tr1::shared_ptr in C++98 modeBoris Kolpackov8-251/+327
2012-02-24C++11 support (pass --std ODB compiler option in build makefiles)Boris Kolpackov30-1/+150
2012-02-24C++11 support (initial infrastructure)Boris Kolpackov1-0/+1
2012-02-22Add support for composite object idsBoris Kolpackov5-0/+1160
New pragma id_type (member). New test: common/composite-id. The composite example has also been updated.
2012-02-22Resolve C++11 ambiguityBoris Kolpackov1-0/+1
2012-01-29Update copyright yearBoris Kolpackov103-103/+103
2012-01-29Remove author field from file headerBoris Kolpackov103-103/+0
Too much effort to maintain.
2012-01-26Implement support for database schemaBoris Kolpackov4-8/+156
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-20Cosmetic changeBoris Kolpackov1-1/+1
2012-01-20Disable re-loading of object with long data for SQL ServerBoris Kolpackov1-0/+7
2012-01-20Query support for SQL ServerBoris Kolpackov1-5/+11
2012-01-20Add support for SQL Server in blob testBoris Kolpackov1-1/+3
2012-01-20Add test for object with only auto-id memberBoris Kolpackov2-27/+63
This tests the generation of the INSERT ... DEFAULT VALUES special syntax in some databases.
2012-01-08Add support for defining composite value type as class template instantiationsBoris Kolpackov3-2/+99
2011-12-06Override second version of tracer::execute() to suppress Sun CC warning1.7.0Boris Kolpackov1-0/+9
2011-11-29Use biggest int type to avoid potential warningsBoris Kolpackov1-1/+1
2011-11-21Add support for common tests without ODB compilation for automake/VC projectsBoris Kolpackov3-5/+12
2011-11-21Exclude include test from distribution listBoris Kolpackov1-1/+1
2011-11-09Make sure we can use same type as both container and simple valueBoris Kolpackov2-1/+9
2011-11-08Add support for const version membersBoris Kolpackov1-1/+1
2011-11-08Add common/transaction test (port from tracer)Boris Kolpackov4-0/+227
2011-11-08Get rid of special tracer databaseBoris Kolpackov24-0/+838
The include, types, and pragma tests have been moved to the common/ directory while the object test has been merged into common/lifecycle. The transaction test will be re-implemented as common/ test as soon as SQL statement tracing support is merged.
2011-11-08Get rid of custom value_traits specialization in query testBoris Kolpackov7-263/+3
auto_ptr<string> is now handled automatically as a wrapper.
2011-11-03Use ODB_DATABASE_XXX macros instead DATABASE_XXX in ODB-compiled headers1.7.0.a1Boris Kolpackov2-14/+10
DATABASE_XXX macros are not defined when building from VC++ project.
2011-11-03Add support for mapping char[N] and unsigned char[N] types to BLOBBoris Kolpackov5-0/+236
New test: common/blob.
2011-11-02Add example for optimistic concurrency supportBoris Kolpackov1-1/+1
2011-11-02Add result_iterator::id() function that returns id without loading objectBoris Kolpackov2-0/+15
2011-11-02Prevent potential image overwrite in MySQL query resultBoris Kolpackov1-1/+6
2011-11-01Fix bug in view column parsingBoris Kolpackov1-13/+1
2011-11-01Implement support for optimistic concurrencyBoris Kolpackov5-0/+488
New pragmas: optimistic, version. New test: optimistic. New database function: reload().