summaryrefslogtreecommitdiff
path: root/odb/relational/header.cxx
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/+6
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-24Cleanup of member accessBoris Kolpackov1-10/+14
2015-02-06Update copyrightBoris Kolpackov1-1/+1
2015-01-26Add column count to composite value traitsBoris Kolpackov1-0/+3
This will hopefully be enough to implement SQL Server TVP (Table-Valued Parameters) in runtime only, when we get to it.
2014-11-25Implement bulk database operation support for Oracle and SQL ServerBoris Kolpackov1-0/+30
2014-11-19Allow empty runtime and execute viewsBoris Kolpackov1-8/+5
Use them to handle INSERT/UPDATE SQL Server stored procedures.
2014-08-29Pass non-const image to clone_image(), copy_image()Boris Kolpackov1-2/+6
This is necessary since some databases need to steal stuff from the original image (e.g., LOB descriptors in Oracle).
2013-09-04View versioning supportBoris Kolpackov1-3/+30
2013-09-04Container versioning supportBoris Kolpackov1-1/+5
2013-09-02Support for versioning simple value in objectBoris Kolpackov1-32/+96
2013-08-30Statement processing/optimization base workBoris Kolpackov1-1/+6
2013-08-14Add support for object sectionsBoris Kolpackov1-16/+68
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-04-10Generate embedded schema in single function instead of one per objectBoris Kolpackov1-9/+0
2013-02-09Update copyright yearBoris Kolpackov1-1/+1
2012-11-28Add support for DLL exporting of generated codeBoris Kolpackov1-6/+10
New options: --export-symbol, --extern-symbol.
2012-11-21Add dynamic multi-database query supportBoris Kolpackov1-7/+55
2012-11-21Generate query tags in object_traits for dynamic multi-database supportBoris Kolpackov1-30/+11
2012-11-21Rework query alias tag systemBoris Kolpackov1-1/+47
Now each object pointer or view-associated object with alias gets its own unique tag.
2012-10-25Static multi-database supportBoris Kolpackov1-250/+24
Add new options (--multi-database, --default-database). Generate common code to -odb.?xx files and database-specific to -odb-<db>.?xx.
2012-10-19Completion of prepared query supportBoris Kolpackov1-5/+235
2012-10-19Initial support for prepared queriesBoris Kolpackov1-6/+20
2012-10-08Ground work for multi-database supportBoris Kolpackov1-124/+195
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-07-16Simplify query inheritance hierarchyBoris Kolpackov1-4/+0
This should also allow Sun CC handle queries for objects with circular dependencies.
2012-04-30Rework polymorphic info and entry static variablesBoris Kolpackov1-15/+13
Make entry file-static. Move info further down in class definition. Make both const. This helps VC++.
2012-04-27Don't generate grow code for databases that don't need itBoris Kolpackov1-1/+1
2012-04-26Make session optionalBoris Kolpackov1-17/+23
2012-04-23Polymorphic inheritance supportBoris Kolpackov1-40/+765
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-0/+8
2011-09-09New templated query_columns architectureBoris Kolpackov1-14/+33
We also now use the correct separate "role"-base join approach instead of having a single merged join for each table.
2011-03-24Generalization work for MySQL and SQLite supportBoris Kolpackov1-11/+2
2011-03-21Split MySQL code generator into common and db-specific partsBoris Kolpackov1-0/+54
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.