summaryrefslogtreecommitdiff
path: root/odb/relational/common.hxx
AgeCommit message (Collapse)AuthorFilesLines
2015-02-06Update copyrightBoris Kolpackov1-1/+1
2015-02-04Implement object loading viewsBoris Kolpackov1-16/+26
See section 10.2 in the manual for details.
2013-08-14Add support for object sectionsBoris Kolpackov1-4/+9
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-11-21Add dynamic multi-database query supportBoris Kolpackov1-343/+7
2012-11-21Rework query alias tag systemBoris Kolpackov1-14/+13
Now each object pointer or view-associated object with alias gets its own unique tag.
2012-10-25Static multi-database supportBoris Kolpackov1-1/+1
Add new options (--multi-database, --default-database). Generate common code to -odb.?xx files and database-specific to -odb-<db>.?xx.
2012-04-23Polymorphic inheritance supportBoris Kolpackov1-0/+30
2012-02-22Add support for composite object idsBoris Kolpackov1-3/+186
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-20Customize generated pointer column wrapper ctorBoris Kolpackov1-0/+3
For SQL Server we need to be able to pass precision/scale.
2012-01-20Query support for SQL ServerBoris Kolpackov1-0/+5
2011-10-24Generate database schema from database model instead of C++ modelBoris Kolpackov1-0/+16
We now first create the so-called database model from C++ model and then use that to generate the database schema. The new approach also adds more general support for primary/foreign keys, including multi- column keys. Finally, for MySQL we now generate out-of-line foreign key definitions. Because MySQL does not support deferred constraints checking, deferred foreign keys are written commented out, for documentation.
2011-09-09New templated query_columns architectureBoris Kolpackov1-2/+25
We also now use the correct separate "role"-base join approach instead of having a single merged join for each table.
2011-08-31Cosmetic changes and cleanupsBoris Kolpackov1-3/+3
Rename some functions to have consistent names. Add object() predicate.
2011-08-19Rework query machinery not to use '_' as primary table aliasBoris Kolpackov1-0/+1
Now we always qualify with the actual table name and use the '_' alias for situations where an object is referencing itself.
2011-05-04Add instance::get() functionBoris Kolpackov1-0/+6
2011-04-22Initial support for non-polymorphic inheritanceBoris Kolpackov1-2/+4
Every class gets a separate table. New test: common/inheritance.
2011-04-19Get rid of image type argument in value_traitsBoris Kolpackov1-6/+0
2011-03-21Cosmetic changesBoris Kolpackov1-1/+1
2011-03-21Split MySQL code generator into common and db-specific partsBoris Kolpackov1-0/+303
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.