aboutsummaryrefslogtreecommitdiff
path: root/odb/mysql/object-statements.txx
AgeCommit message (Collapse)AuthorFilesLines
2012-04-23Polymorphic inheritance supportBoris Kolpackov1-171/+0
2012-02-22Add support for composite object idsBoris Kolpackov1-1/+1
New pragma id_type (member). New test: common/composite-id. The composite example has also been updated.
2012-01-29Update copyright yearBoris Kolpackov1-1/+1
2012-01-29Remove author field from file headerBoris Kolpackov1-1/+0
Too much effort to maintain.
2011-11-01Implement support for optimistic concurrencyBoris Kolpackov1-2/+19
New pragmas: optimistic, version. New test: optimistic. New database function: reload().
2011-10-30Rework statement interfaces wrt param/result passingBoris Kolpackov1-1/+3
2011-10-27Add support for persistent classes without object idsBoris Kolpackov1-0/+34
New pragma id (object). New test: common/no-id.
2011-10-21Split 'in' binding into insert/update pair; rename 'out' to selectBoris Kolpackov1-10/+15
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-09-06Add non-inline destructorBoris Kolpackov1-0/+6
2011-08-18Fix custom recursive loading in post_load callbackBoris Kolpackov1-1/+12
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-07-04Implement support for database operations callbacksBoris Kolpackov1-6/+19
New object pragma: callback. New test: common/callback. New manual section: 10.1.4, "callback".
2011-03-24Rename error to truncated in bindingsBoris Kolpackov1-2/+2
2011-01-05Load containers in query results and delayed loadingBoris Kolpackov1-0/+1
2011-01-04Copyright updateBoris Kolpackov1-1/+1
2010-11-26Add support for recursive object loadingBoris Kolpackov1-3/+46
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-18Split object image binding into in and out variantsBoris Kolpackov1-7/+10
2010-11-18Version image typesBoris Kolpackov1-0/+6
2010-11-17Add support for unidirectional object relationshipsBoris Kolpackov1-1/+1
New test: common/relationship.
2010-11-06Add support for container persistenceBoris Kolpackov1-0/+31
Generalize statements that were used for persisting objects to work for both objects and containers. Implement a cache for container statements.