summaryrefslogtreecommitdiff
path: root/odb/relational/oracle/context.cxx
AgeCommit message (Collapse)AuthorFilesLines
2014-11-25Implement bulk database operation support for Oracle and SQL ServerBoris Kolpackov1-0/+1
2013-10-15Automatically map C++11 enum classes (strong enums)Boris Kolpackov1-8/+1
2013-02-09Update copyright yearBoris Kolpackov1-1/+1
2013-01-24Add support for mapping char[N] to CHAR/VARCHAR database typesBoris Kolpackov1-3/+48
Also improve query support for arrays (decaying).
2012-12-12Add support for SQL name transformationsBoris Kolpackov1-0/+19
2012-09-04NULL handling improvementsBoris Kolpackov1-21/+25
Add support for specifying NULL-ness for types with built-in mapping. Handle Oracle [N]VARCHAR2 and SQLite FLOAT oddities using this mechanism instead of overriding it at the schema generation level. Also use the is_null argument that is passed to value_traits::init_image() to indicate whether the value can be NULL.
2012-07-25Simplify auto id implementation in OracleBoris Kolpackov1-1/+1
Specifically, instead of using a trigger to assign the next id from the sequence, get the next value directly in the INSERT statement.
2012-07-10Add support for custom database type mappingBoris Kolpackov1-57/+82
New pragma qualifier, map, and specifiers: as, to, from. New tests: <database>/custom.
2012-06-29Cosmetic changesBoris Kolpackov1-1/+1
2012-04-23Polymorphic inheritance supportBoris Kolpackov1-1/+3
2012-03-07Use RAII to free select statement resultsBoris Kolpackov1-0/+1
2012-02-22Add support for composite object idsBoris Kolpackov1-8/+9
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-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