summaryrefslogtreecommitdiff
path: root/odb/relational/oracle/model.cxx
AgeCommit message (Collapse)AuthorFilesLines
2013-04-26Add support for extra database info in primary keyBoris Kolpackov1-0/+7
Use that to handle Oracle sequence name and SQLite lax auto ids.
2013-02-09Update copyright yearBoris Kolpackov1-1/+1
2012-07-10Add support for custom database type mappingBoris Kolpackov1-1/+2
New pragma qualifier, map, and specifiers: as, to, from. New tests: <database>/custom.
2012-02-22Add support for composite object idsBoris Kolpackov1-3/+1
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-20Various Oracle cleanups and cosmetic changesBoris Kolpackov1-5/+0
2011-10-27Use default behaviour for Oracle default_boolConstantin Michael1-9/+0
2011-10-26Do not use TRUE and FALSE boolean literals in OracleConstantin Michael1-1/+1
2011-10-24Generate database schema from database model instead of C++ modelBoris Kolpackov1-0/+74
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.