summaryrefslogtreecommitdiff
path: root/odb/relational/source.hxx
AgeCommit message (Collapse)AuthorFilesLines
2024-01-24Turn odb repository into muti-package repositoryKaren Arutyunov1-7154/+0
Also remove the autoconf/make-based build system.
2023-06-12Fix GCC 13 -Woverloaded-virtual warningBoris Kolpackov1-0/+2
2022-07-13Work around bogus "used uninitialized" warnings issued by GCC 12Boris Kolpackov1-0/+2
2021-07-07Resolve name lookup ambiguity causing error with GCC 11Boris Kolpackov1-0/+8
2020-02-13Drop copyright notice from source codeKaren Arutyunov1-1/+0
2020-01-23Fix ability to handle C-style arrays as containersBoris Kolpackov1-2/+7
2019-01-16Update copyright yearKaren Arutyunov1-1/+1
2018-05-24Update copyright yearKaren Arutyunov1-1/+1
2017-09-15Rename variable in generated code to avoid conflictBoris Kolpackov1-6/+6
This allows "unofficial" (as in, it compiles but hasn't been reviewed or tested) use of object pointers as object ids.
2017-05-23Fix bug in handling section members that require growth, part 2Boris Kolpackov1-2/+8
2017-01-03Update copyright yearBoris Kolpackov1-1/+1
2016-03-30Assert that statements are not already locked in top-level callsBoris Kolpackov1-0/+1
This can be violated with crafty callbacks.
2015-10-14Fix bug in section's grow() generationBoris Kolpackov1-0/+3
2015-09-18Fix bug in object loading views and objects with nested idsBoris Kolpackov1-3/+17
2015-08-24Fix inconsistent composite value member prefix derivationBoris Kolpackov1-2/+2
2015-07-15Implement SQLite incremental BLOB/TEXT I/OBoris Kolpackov1-27/+55
2015-07-03Implement nested id supportBoris Kolpackov1-12/+12
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-53/+59
2015-07-01C++ type mapping support for data membersBoris Kolpackov1-47/+70
2015-06-24Cleanup of member accessBoris Kolpackov1-48/+65
2015-06-22Implement member type mapping, more m.type() cleanupsBoris Kolpackov1-4/+4
2015-06-22Get rid of member_[u]type(), other cleanupsBoris Kolpackov1-2/+2
2015-06-16Use (!) to denote database in modifier expressionsBoris Kolpackov1-4/+12
2015-06-16Implement support for nested members in inverse pragmaBoris Kolpackov1-45/+46
2015-02-07Fix to work with GCC 5Boris Kolpackov1-1/+1
2015-02-06Update copyrightBoris Kolpackov1-1/+1
2015-02-06Implement join types support in viewsBoris Kolpackov1-0/+17
2015-02-05Implement result modifiers in view query conditionBoris Kolpackov1-0/+9
2015-02-04Implement object loading viewsBoris Kolpackov1-31/+1176
See section 10.2 in the manual for details.
2014-11-26Implement optimistic concurrency support in bulk operationsBoris Kolpackov1-2/+3
Bulk update and SQL Server ROWVERSION not yet supported.
2014-11-25Implement bulk database operation support for Oracle and SQL ServerBoris Kolpackov1-1/+10
2014-06-23Cut out pointer-to-id traversal so that we don't go into composite idsBoris Kolpackov1-0/+12
2013-09-28Make schema version access (but not modification) thread-safeBoris Kolpackov1-4/+4
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-16Implement summary soft-deletion for composite value typesBoris Kolpackov1-6/+79
2013-09-10Schema versioning support for rest of databaseBoris Kolpackov1-9/+15
2013-09-05Versioned section supportBoris Kolpackov1-32/+194
2013-09-04Container versioning supportBoris Kolpackov1-81/+178
2013-09-02Fix UPDATE statement for smart containers with read-only value membersBoris Kolpackov1-6/+20
Here we have to include them (think what happens when we erase an element somewhere in the middle of a container).
2013-09-02Support for versioning simple value in objectBoris Kolpackov1-47/+188
2013-08-30Statement processing/optimization base workBoris Kolpackov1-114/+174
2013-08-28Support for added and deleted data member pragmasBoris Kolpackov1-0/+23
2013-08-14Add support for object sectionsBoris Kolpackov1-89/+1217
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-06-13Add support for native views that call stored proceduresBoris Kolpackov1-1/+2
2013-04-10Generate embedded schema in single function instead of one per objectBoris Kolpackov1-2/+0
2013-04-10Don't throw null_pointer on load operationsBoris Kolpackov1-4/+5
This can be useful during migration. Plus this should be enforced by the database.
2013-04-01Handle inverse member in base class of polymorphic hierarchyBoris Kolpackov1-37/+80
2013-02-09Update copyright yearBoris Kolpackov1-1/+1
2013-02-05Add support for change-tracking containersBoris Kolpackov1-161/+473
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.
2013-01-14Add support for MSSQL ROWVERSIONBoris Kolpackov1-8/+32
ODB can now use ROWVERSION column as an optimistic concurrency version.