aboutsummaryrefslogtreecommitdiff
path: root/odb
AgeCommit message (Collapse)AuthorFilesLines
2011-02-21Don't reuse failed connectionsBoris Kolpackov4-4/+29
If MySQL API returns an error indicating the connection is no longer usable, mark it as failed. In connection_pool_factory free failed connections instead of returning them to the pool.
2011-02-18Factor out MySQL error to exception translation into separate functionBoris Kolpackov9-127/+148
2011-01-24Bump version to 1.1.01.1.0Boris Kolpackov1-3/+3
2011-01-18Add support for native SQL statement executionBoris Kolpackov2-3/+48
New test: mysql/native. New manual section: 3.9, "Executing Native SQL Statements".
2011-01-17Remove unneeded includeBoris Kolpackov1-1/+0
2011-01-05Load containers in query results and delayed loadingBoris Kolpackov2-1/+9
2011-01-04Copyright updateBoris Kolpackov43-43/+43
2010-12-10Cosmetic changesBoris Kolpackov1-3/+4
2010-12-07Use mutable instead of const_castBoris Kolpackov2-4/+4
2010-11-26Postpone fetching of the data for cached resultsBoris Kolpackov4-48/+99
This way if an object of the same type is loaded in between iteration, the fetched image won't be messed up.
2010-11-26Add support for recursive object loadingBoris Kolpackov5-10/+241
If an object of a type needs to be loaded recursively, then it is addded to the delayed loading list which is processed once the statements are unlocked.
2010-11-24Add support for unordered storage of ordered containersBoris Kolpackov1-2/+2
New pragma: unordered.
2010-11-24Bump version to 1.1.0.a2Boris Kolpackov1-3/+3
2010-11-22Make query result aware of session and const objectsBoris Kolpackov3-17/+33
2010-11-22Use typeinfo comparator from libodbBoris Kolpackov1-18/+2
2010-11-18Split object image binding into in and out variantsBoris Kolpackov3-34/+63
2010-11-18Version image typesBoris Kolpackov6-3/+142
2010-11-17Add support for unidirectional object relationshipsBoris Kolpackov7-12/+41
New test: common/relationship.
2010-11-17Cosmetic changesBoris Kolpackov1-2/+2
2010-11-06Add support for container persistenceBoris Kolpackov19-572/+756
Generalize statements that were used for persisting objects to work for both objects and containers. Implement a cache for container statements.
2010-10-27Implement support for composite value typesBoris Kolpackov2-1/+4
New test: common/composite.
2010-10-07Add support for persistent classes without default ctorsBoris Kolpackov2-15/+0
New test: common/ctor.
2010-10-04Bump version to 1.1.0.a1Boris Kolpackov1-3/+3
2010-09-29Bump version to 1.0.01.0.0Boris Kolpackov1-3/+3
2010-09-28Use struct consistentlyBoris Kolpackov1-18/+17
2010-09-28Rename begin_transaction() to begin()Boris Kolpackov2-2/+2
2010-09-25Remove stray semicolonBoris Kolpackov1-1/+1
2010-09-23Add swap(), empty(), and size() to result class templateBoris Kolpackov4-6/+41
2010-09-23Don't call store_result after we have reached the endBoris Kolpackov2-1/+12
2010-09-23Use comparison instead of IS TRUEBoris Kolpackov1-1/+5
The bool type can be mapped to a non-integral type, such as string.
2010-09-23Move default traits implementation to default_value_traitsBoris Kolpackov1-13/+22
This way traits for any type can be specialized.
2010-09-22Add database type id as value_traits template argumentBoris Kolpackov5-93/+308
2010-09-21Redesign value_traitsBoris Kolpackov3-140/+108
2010-09-21Ignore unknown command line options and argumentsBoris Kolpackov1-1/+1
2010-09-21Cosmetic changesBoris Kolpackov1-2/+2
2010-09-20Rename store() to update()Boris Kolpackov2-26/+26
2010-09-20Cache result by defaultBoris Kolpackov1-3/+6
2010-09-15Reset active statement in statements' ctorsBoris Kolpackov1-0/+15
2010-09-14Use global flags to get tidier object file namesBoris Kolpackov1-2/+2
2010-09-14Add argc/argv database ctorBoris Kolpackov7-17/+228
2010-09-13Fix MySQL thread termination problemBoris Kolpackov1-1/+38
2010-09-13Handle buffer growth in cached resultBoris Kolpackov1-0/+11
2010-09-10Add support for result cachingBoris Kolpackov4-5/+43
2010-09-10Use space instead of ';' as library separatorBoris Kolpackov1-4/+4
2010-09-10Initialize and terminate mysql libraryBoris Kolpackov1-11/+49
2010-09-09Disable C4267 possible loss of dataBoris Kolpackov2-8/+8
2010-09-09Avoid infinite recursionBoris Kolpackov1-6/+6
2010-09-09Rework MySQL header inclusionBoris Kolpackov12-127/+39
2010-09-06Cosmetic changesBoris Kolpackov1-1/+1
2010-09-06Generate config.hBoris Kolpackov2-11/+32