aboutsummaryrefslogtreecommitdiff
path: root/odb/relational/source.cxx
AgeCommit message (Collapse)AuthorFilesLines
2012-07-16Simplify query inheritance hierarchyBoris Kolpackov1-1/+1
This should also allow Sun CC handle queries for objects with circular dependencies.
2012-07-10Add support for custom database type mappingBoris Kolpackov1-9/+14
New pragma qualifier, map, and specifiers: as, to, from. New tests: <database>/custom.
2012-04-30Rework polymorphic info and entry static variablesBoris Kolpackov1-4/+7
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-15/+45
2012-04-27Add support for NULL pointers to objects with composite object idsBoris Kolpackov1-1/+0
2012-04-23Polymorphic inheritance supportBoris Kolpackov1-0/+3245
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-1/+5
2011-11-09Make sure we can use same type as both container and simple valueBoris Kolpackov1-2/+4
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-02If query substituting placeholder is empty, pass true expression insteadBoris Kolpackov1-1/+1
This allows uniform usage of views both with and without any extra conditions. Also optimize some common cases so that we don't have useless WHERE TRUE clauses or (...) AND (TRUE) expressions.
2011-09-27Add support for associating tables with viewsBoris Kolpackov1-2/+2
2011-09-20Change query syntax to use . for composite and -> for object pointer accessBoris Kolpackov1-4/+1
Also make non-inverse query columns act as both an object pointer and a normal column. The latter allows us to use natural expressions such as query<employee>::employer.is_null ().
2011-09-19Rename generation_failed exception to operation_failedBoris Kolpackov1-6/+6
A more generic name is required since it is now used in both generator and processor (and in the future may be used validator).
2011-09-16Support for views; integrated partBoris Kolpackov1-0/+544
2011-03-24Generalization work for MySQL and SQLite supportBoris Kolpackov1-38/+4
2011-03-21Split MySQL code generator into common and db-specific partsBoris Kolpackov1-0/+79
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.