summaryrefslogtreecommitdiff
path: root/odb/relational/context.cxx
AgeCommit message (Collapse)AuthorFilesLines
2015-07-02C++ type mapping support for container elementsasBoris Kolpackov1-0/+1
2015-02-06Update copyrightBoris Kolpackov1-1/+1
2014-11-25Implement bulk database operation support for Oracle and SQL ServerBoris Kolpackov1-0/+1
2013-08-14Add support for object sectionsBoris Kolpackov1-1/+1
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-12-12Add support for SQL name transformationsBoris Kolpackov1-0/+42
2012-07-10Add support for custom database type mappingBoris Kolpackov1-0/+16
New pragma qualifier, map, and specifiers: as, to, from. New tests: <database>/custom.
2012-04-23Polymorphic inheritance supportBoris Kolpackov1-0/+1
2012-03-07Use RAII to free select statement resultsBoris Kolpackov1-0/+1
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-26Implement support for database schemaBoris Kolpackov1-5/+18
New pragma qualifier: namespace. New pragma specifier: schema. The table specifier was extended to accept a schema prefix. New option: --default- schema. The common/schema test was extended to cover the new functionality.
2012-01-20Add support for case where we don't send auto object id in INSERTBoris Kolpackov1-0/+1
2012-01-20Reserve correct amount of memory for quoted idBoris Kolpackov1-1/+1
2011-10-24Generate database schema from database model instead of C++ modelBoris Kolpackov1-5/+5
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-10-21Rename relational::context::use_as to relational::context::need_alias_asConstantin Michael1-2/+2
2011-10-21Add a context flag indicating whether AS SQL keyword should be used for aliasesConstantin Michael1-0/+2
2011-10-21Add flag to context indicating whether to generate grow codeConstantin Michael1-0/+2
2011-07-22Add support for SQL string quotingBoris Kolpackov1-0/+19
2011-03-24Generalization work for MySQL and SQLite supportBoris Kolpackov1-2/+6
2011-03-21Cache current context in static variableBoris Kolpackov1-0/+13
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.