summaryrefslogtreecommitdiff
path: root/odb/common.cxx
AgeCommit message (Collapse)AuthorFilesLines
2019-01-16Update copyright yearKaren Arutyunov1-1/+1
2018-05-24Update copyright yearKaren Arutyunov1-1/+1
2017-01-03Update copyright yearBoris Kolpackov1-1/+1
2015-07-03Add support for defining views as class template instantiationsBoris Kolpackov1-2/+2
2015-07-03Implement nested id supportBoris Kolpackov1-1/+37
Now the 'id' specifier can optionally include the data member path to the id inside the composite value. For example: #pragma db id(first) std::pair<int, int> p; Note that one somewhat counter-intuitive aspect of this new feature is that the whole member marked with id ('p' in the above example) and not just the actual id member ('p.first' in the above example) is treated as readonly. Such nested id also cannot be automatically assigned (auto specifier).
2015-06-15Add points_to pragmaBoris Kolpackov1-1/+10
Currently does not support containers.
2015-02-06Update copyrightBoris Kolpackov1-1/+1
2015-02-04Implement object loading viewsBoris Kolpackov1-2/+4
See section 10.2 in the manual for details.
2014-08-01Add support for defining persistent objects as class template instantiationsBoris Kolpackov1-2/+2
2013-09-16Diagnose (potentially) empty UPDATE statements with ROWVERSIONBoris Kolpackov1-2/+24
2013-08-14Add support for object sectionsBoris Kolpackov1-12/+36
Sections are an optimization mechanism that allows the partitioning of data members of a persistent class into groups that can be separately loaded and/or updated.
2013-02-09Update copyright yearBoris Kolpackov1-1/+1
2012-12-12Add support for SQL name transformationsBoris Kolpackov1-120/+9
2012-10-08Fix bug in transient inheritance handlingBoris Kolpackov1-4/+0
Also test that we can handle it for objects, composite values, and views.
2012-09-12Implement --output-name, --generate-schema-only, and --at-once optionsBoris Kolpackov1-1/+1
2012-08-01Add support for empty column names in composite value typesBoris Kolpackov1-1/+3
2012-07-31Add support for changing location that ODB views as class definitionBoris Kolpackov1-1/+1
This is useful for making third-party/system types into ODB composite value types. New pragma: definition. New test: common/definition.
2012-04-27Add support for NULL pointers to objects with composite object idsBoris Kolpackov1-0/+1
2012-04-23Polymorphic inheritance supportBoris Kolpackov1-9/+28
2012-03-02Get rid of uninitialized variable warningsBoris Kolpackov1-1/+1
2012-02-27Add support for specifying table prefix on namespaceBoris Kolpackov1-7/+8
2012-02-22Add support for composite object idsBoris Kolpackov1-94/+160
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.
2012-01-27Make container schema override object schemaBoris Kolpackov1-2/+9
2012-01-26Implement support for database schemaBoris Kolpackov1-9/+22
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-08Add support for defining composite value type as class template instantiationsBoris Kolpackov1-0/+55
2011-11-09Make sure we can use same type as both container and simple valueBoris Kolpackov1-2/+2
2011-10-21Add support for const data membersBoris Kolpackov1-2/+2
Const data members are automatically treated as readonly. New test: const-member.
2011-10-21Add support for readonly membersBoris Kolpackov1-0/+77
New pragma: readonly. New test: readonly.
2011-09-16Support for views; integrated partBoris Kolpackov1-70/+89
2011-09-05Support for views; native partBoris Kolpackov1-28/+53
2011-08-31Rename comp_value() predicate to composite()Boris Kolpackov1-4/+4
2011-08-31Add transient() predicateBoris Kolpackov1-2/+2
2011-08-31Cosmetic changes and cleanupsBoris Kolpackov1-37/+37
Rename some functions to have consistent names. Add object() predicate.
2011-08-28Add wrapper support for containersBoris Kolpackov1-4/+4
2011-08-28Add wrapper support for composite valuesBoris Kolpackov1-5/+13
NULL semantics for composite values is not yet supported.
2011-08-24Don't append table prefix to names that already have it (container tables)Boris Kolpackov1-2/+5
2011-04-25Add support for abstract object typesBoris Kolpackov1-0/+16
2011-04-25Reuse container traits from composite valuesBoris Kolpackov1-11/+19
2011-04-22Initial support for non-polymorphic inheritanceBoris Kolpackov1-13/+33
Every class gets a separate table. New test: common/inheritance.
2011-03-24Generalization work for MySQL and SQLite supportBoris Kolpackov1-4/+21
2011-03-21Set context::object in all common traversersBoris Kolpackov1-1/+13
2011-03-21Split MySQL code generator into common and db-specific partsBoris Kolpackov1-5/+17
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.
2011-01-04Copyright updateBoris Kolpackov1-1/+1
2010-12-07Allow inheritance from transient bases for object and composite value typesBoris Kolpackov1-0/+10
2010-11-25Add support for object pointers in queryBoris Kolpackov1-12/+14
2010-11-06Add support for container persistenceBoris Kolpackov1-4/+155
2010-10-27Implement support for composite value typesBoris Kolpackov1-0/+64
New test: common/composite.