summaryrefslogtreecommitdiff
path: root/odb/relational/inline.hxx
AgeCommit message (Collapse)AuthorFilesLines
2018-05-24Update copyright yearKaren Arutyunov1-1/+1
2017-01-03Update copyright yearBoris Kolpackov1-1/+1
2015-07-03Implement nested id supportBoris Kolpackov1-4/+4
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-07-02C++ type mapping support for container elementsasBoris Kolpackov1-3/+1
2015-02-06Update copyrightBoris Kolpackov1-1/+1
2014-11-25Implement bulk database operation support for Oracle and SQL ServerBoris Kolpackov1-0/+15
2014-08-29Pass non-const image to clone_image(), copy_image()Boris Kolpackov1-2/+2
This is necessary since some databases need to steal stuff from the original image (e.g., LOB descriptors in Oracle).
2013-09-28Make schema version access (but not modification) thread-safeBoris Kolpackov1-6/+0
Also cache the version in statements so that we don't have to lock the mutex (slow) every time we need to check the version.
2013-09-17Add support for defining composite values inside persistent classes, etcBoris Kolpackov1-8/+22
2013-09-05Versioned section supportBoris Kolpackov1-4/+37
2013-09-04Container versioning supportBoris Kolpackov1-2/+10
2013-09-02Support for versioning simple value in objectBoris Kolpackov1-18/+75
2013-08-14Add support for object sectionsBoris Kolpackov1-8/+81
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
2013-02-05Add support for change-tracking containersBoris Kolpackov1-1/+2
ODB now supports "smart" ordered containers. Such containers get extra functions for updating and deleting individual elements. Based on this functionality implement two change-tracking containers: odb::vector (equivalent to std::vector) and QOdbList (equivalent to QList). New tests: common/container/change-tracking and qt/common/container/change- tracking.
2012-10-25Static multi-database supportBoris Kolpackov1-159/+21
Add new options (--multi-database, --default-database). Generate common code to -odb.?xx files and database-specific to -odb-<db>.?xx.
2012-10-08Ground work for multi-database supportBoris Kolpackov1-40/+42
All generated code now includes database id. The database-specific database class interface has been updated to include all the database operations. The database-specific tests now use this interface.
2012-09-12Implement --output-name, --generate-schema-only, and --at-once optionsBoris Kolpackov1-1/+1
2012-08-16Add support for automatically discovering accessor/modifier functionsBoris Kolpackov1-1/+1
New options: --{accessor,modifier}-regex, --{accessor,modifier}-regex-trace.
2012-08-15Add support for member accessors/modifiersBoris Kolpackov1-3/+15
New pragmas: get, set, access. New test: common/access.
2012-07-16Simplify query inheritance hierarchyBoris Kolpackov1-80/+0
This should also allow Sun CC handle queries for objects with circular dependencies.
2012-04-27Add support for NULL pointers to objects with composite object idsBoris Kolpackov1-1/+172
2012-04-23Polymorphic inheritance supportBoris Kolpackov1-57/+202
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-08Add support for defining composite value type as class template instantiationsBoris Kolpackov1-14/+23
2012-01-06Cleanup dead codeBoris Kolpackov1-9/+0
2011-11-01Implement support for optimistic concurrencyBoris Kolpackov1-4/+33
New pragmas: optimistic, version. New test: optimistic. New database function: reload().
2011-10-27Add support for persistent classes without object idsBoris Kolpackov1-14/+20
New pragma id (object). New test: common/no-id.
2011-09-27Add support for associating tables with viewsBoris Kolpackov1-1/+3
2011-09-16Support for views; integrated partBoris Kolpackov1-0/+53
2011-09-05Support for views; native partBoris Kolpackov1-10/+45
2011-08-31Rename comp_value() predicate to composite()Boris Kolpackov1-1/+1
2011-08-31Cosmetic changes and cleanupsBoris Kolpackov1-4/+4
Rename some functions to have consistent names. Add object() predicate.
2011-07-04Implement support for database operations callbacksBoris Kolpackov1-0/+90
New object pragma: callback. New test: common/callback. New manual section: 10.1.4, "callback".
2011-06-21Add hooks for generating extra code in object traitsBoris Kolpackov1-0/+7
2011-04-25Add support for abstract object typesBoris Kolpackov1-56/+66
2011-04-22Initial support for non-polymorphic inheritanceBoris Kolpackov1-4/+50
Every class gets a separate table. New test: common/inheritance.
2011-03-25Further generalization work for SQLite supportBoris Kolpackov1-1/+2
2011-03-21Split MySQL code generator into common and db-specific partsBoris Kolpackov1-0/+107
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.