summaryrefslogtreecommitdiff
path: root/odb/relational/mysql/source.cxx
AgeCommit message (Collapse)AuthorFilesLines
2011-11-01Implement support for optimistic concurrencyBoris Kolpackov1-3/+9
New pragmas: optimistic, version. New test: optimistic. New database function: reload().
2011-10-21Add support for const data membersBoris Kolpackov1-14/+28
Const data members are automatically treated as readonly. New test: const-member.
2011-10-21Add support for readonly membersBoris Kolpackov1-18/+56
New pragma: readonly. New test: readonly.
2011-10-21Split 'in' binding into insert/update pair; rename 'out' to selectBoris Kolpackov1-9/+52
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-21Rework const object handlingBoris Kolpackov1-1/+1
Now objects are always loaded as non-const and the object cache in session treats all objects as non-const.
2011-09-16Support for views; integrated partBoris Kolpackov1-1/+25
2011-08-31Rename comp_value() predicate to composite()Boris Kolpackov1-8/+8
2011-08-28Add wrapper support for composite valuesBoris Kolpackov1-4/+31
NULL semantics for composite values is not yet supported.
2011-08-19Rework query machinery not to use '_' as primary table aliasBoris Kolpackov1-2/+2
Now we always qualify with the actual table name and use the '_' alias for situations where an object is referencing itself.
2011-07-22Cosmetic changeBoris Kolpackov1-1/+1
2011-07-19New design for NULL semanticsBoris Kolpackov1-2/+2
Now, instead of being specified as part of the SQL type with the type pragma, there are separate null and not_null pragmas. The not_null pragma was used to control NULL-ness of object pointers. Now the two pragmas are used consistently for object pointers and simple values (and in the future will work for composite values and containers).
2011-04-22Initial support for non-polymorphic inheritanceBoris Kolpackov1-2/+2
Every class gets a separate table. New test: common/inheritance.
2011-04-19Implement automatic mapping for C++ enumsBoris Kolpackov1-20/+113
2011-04-19Get rid of image type argument in value_traitsBoris Kolpackov1-16/+0
2011-03-24Generalization work for MySQL and SQLite supportBoris Kolpackov1-2/+14
2011-03-21Remove unnecessary codeBoris Kolpackov1-5/+5
2011-03-21Cosmetic changesBoris Kolpackov1-16/+16
2011-03-21Split MySQL code generator into common and db-specific partsBoris Kolpackov1-0/+899
The common part (in relational/) still has some MySQL-specific parts. Also, add the notion of the current context which is used to avoid explicitly passing the context object to every generator's c-tor.