aboutsummaryrefslogtreecommitdiff
path: root/odb
AgeCommit message (Collapse)AuthorFilesLines
2011-03-25Update interface to conform to what's expected by generated codeBoris Kolpackov4-8/+12
2011-03-24Rename error to truncated in bindingsBoris Kolpackov5-11/+14
2011-03-22Cosmetic changesBoris Kolpackov1-2/+2
2011-03-22Cosmetic changesBoris Kolpackov2-19/+21
2011-03-21Cosmetic changesBoris Kolpackov2-7/+5
2011-03-21Generate long options usageBoris Kolpackov1-0/+1
2011-03-15Avoid holding connection pool lock while pinging connection1.2.0Boris Kolpackov1-25/+42
2011-03-15Change shared_ptr callback interface to work in mt-environmentBoris Kolpackov2-7/+9
2011-03-15Bump version to 1.2.0Boris Kolpackov1-3/+3
2011-02-22Fix iteration over uncached query resultBoris Kolpackov1-1/+1
2011-02-21Add recoverable, connection_lost, and timeout exceptionsBoris Kolpackov1-2/+4
The deadlock exception now inherits from recoverable. New manual section: 3.5, "Error Handling and Recovery".
2011-02-21Factor out active statement cancelling into separate functionBoris Kolpackov6-21/+33
2011-02-21Cosmetic changesBoris Kolpackov1-1/+1
2011-02-21Validate connection in MySQL pool factoryBoris Kolpackov4-2/+45
This will help deal with the MySQL server closing connections after a certain period of inactivity.
2011-02-21Cosmetic changesBoris Kolpackov1-1/+1
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