summaryrefslogtreecommitdiff
path: root/odb/relational/oracle/context.cxx
AgeCommit message (Collapse)AuthorFilesLines
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-22Pass precision and scale to Oracle query_paramBoris Kolpackov1-4/+12
2012-01-22Fix INTERVAL types parsingBoris Kolpackov1-8/+29
Assign default precisions, store seconds precision for INTERVAL DAY TO SECOND in scale since prec stores the days precisions.
2012-01-22Rename range to precision in Oracle generatorBoris Kolpackov1-44/+45
2012-01-22Fix bug in Oracle DECIMAL/NUMERIC type aliases parsingBoris Kolpackov1-18/+9
2012-01-22Change default Oracle std::string mapping to 512 from 4000Boris Kolpackov1-1/+1
2012-01-20Add support for case where we don't send auto object id in INSERTBoris Kolpackov1-0/+1
2012-01-20Various Oracle cleanups and cosmetic changesBoris Kolpackov1-1/+0
2011-11-30Add commentsBoris Kolpackov1-0/+3
2011-11-08Tighten Oracle SQL type parsing logicConstantin Michael1-56/+68
2011-11-08Add support for Oracle INTERVAL temporal typesConstantin Michael1-93/+156
2011-10-24Generate database schema from database model instead of C++ modelBoris Kolpackov1-77/+57
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-21Implement Oracle identifier truncation to 30 charactersConstantin Michael1-0/+11
2011-10-21Rename relational::context::use_as to relational::context::need_alias_asConstantin Michael1-1/+1
2011-10-21Add a context flag indicating whether AS SQL keyword should be used for aliasesConstantin Michael1-0/+1
2011-10-21Correct Oracle SQL type parser implementationConstantin Michael1-12/+14
2011-10-21Implement unsigned_integer as part of oracle::contextConstantin Michael1-0/+13
2011-10-21Use GNU GPL v3 license for ODB compiler filesConstantin Michael1-1/+1
2011-10-21Implement SQL type parsing and C++ type mappings for OracleConstantin Michael1-0/+588