Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-10-27 | Add support for persistent classes without object ids | Boris Kolpackov | 10 | -284/+522 | |
New pragma id (object). New test: common/no-id. | |||||
2011-10-27 | Use default behaviour for Oracle default_bool | Constantin Michael | 1 | -9/+0 | |
2011-10-26 | Do not use TRUE and FALSE boolean literals in Oracle | Constantin Michael | 1 | -1/+1 | |
2011-10-26 | Output DEFAULT clause before NULL specification when generating schema | Constantin Michael | 1 | -3/+4 | |
Oracle requires that the DEFAULT clause appear before any column contraints are specified when creating a table. | |||||
2011-10-26 | Disable result caching in Oracle | Constantin Michael | 1 | -0/+14 | |
2011-10-24 | Mention MySQL foreign key constraint limitations | Boris Kolpackov | 1 | -0/+22 | |
2011-10-24 | Generate database schema from database model instead of C++ model | Boris Kolpackov | 58 | -1310/+3745 | |
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-24 | Do not suppress empty lines from output | Boris Kolpackov | 1 | -15/+12 | |
They could be added for formatting. | |||||
2011-10-24 | Add support for string representation of sql_token | Boris Kolpackov | 2 | -13/+21 | |
2011-10-21 | News entry for readonly members, objects, and values | Boris Kolpackov | 1 | -0/+9 | |
2011-10-21 | Documentation for readonly members, objects, and values | Boris Kolpackov | 1 | -105/+297 | |
2011-10-21 | Use base implementation instead of duplicating code | Boris Kolpackov | 1 | -10/+8 | |
2011-10-21 | Add support for const data members | Boris Kolpackov | 29 | -233/+588 | |
Const data members are automatically treated as readonly. New test: const-member. | |||||
2011-10-21 | Add aliases to GCC tree node to semantic graph node map | Boris Kolpackov | 1 | -1/+6 | |
2011-10-21 | Add name hint to the qualifies edge (cvr-qualification) | Boris Kolpackov | 3 | -0/+75 | |
2011-10-21 | Implement more robust profile path parsing | Boris Kolpackov | 1 | -2/+13 | |
2011-10-21 | Add support for readonly members | Boris Kolpackov | 13 | -218/+663 | |
New pragma: readonly. New test: readonly. | |||||
2011-10-21 | Split 'in' binding into insert/update pair; rename 'out' to select | Boris Kolpackov | 10 | -259/+598 | |
Also add the initial infrastructure for the readonly members support. Right now the split insert/update bindings allows us to avoid sending object id in UPDATE statements. It will also allows us to support readonly members. | |||||
2011-10-21 | Generate auto_id constant even if id is in base | Boris Kolpackov | 1 | -0/+3 | |
2011-10-21 | Add schema_file implementation to support schema file header and footer hooks | Constantin Michael | 3 | -0/+49 | |
2011-10-21 | Refactor persist statement hook | Constantin Michael | 2 | -41/+22 | |
2011-10-21 | Correct auto_id flag generation | Constantin Michael | 1 | -1/+1 | |
2011-10-21 | Implement Oracle identifier truncation to 30 characters | Constantin Michael | 2 | -0/+15 | |
2011-10-21 | Rename relational::context::use_as to relational::context::need_alias_as | Constantin Michael | 7 | -14/+14 | |
2011-10-21 | Aesthetic changes and small bug fixes | Constantin Michael | 2 | -4/+5 | |
2011-10-21 | Add persist_stmt hook to handle generation of persist statement SQL | Constantin Michael | 2 | -9/+57 | |
ODB requires that Oracle persist statements include a RETURNING clause so that a generated auto_id column value may be returned. | |||||
2011-10-21 | Disable auto_id initialization hook for Oracle | Constantin Michael | 1 | -2/+1 | |
This is not necessary and is more complex than originally thought due to the possibility of auto_id columns having a char* image type. | |||||
2011-10-21 | Update code generation to support use of SQLT_NUM OCI type instead of SQLT_VNU | Constantin Michael | 2 | -3/+4 | |
2011-10-21 | Correct generation of Oracle sequences and triggers for auto increment columns | Constantin Michael | 1 | -4/+12 | |
2011-10-21 | Disable generation of inline foreign key constraints | Constantin Michael | 1 | -0/+5 | |
2011-10-21 | Specify all VARCHAR2 and NVARCHAR2 columns as nullable | Constantin Michael | 1 | -0/+13 | |
Oracle interprets empty VARCHAR2 and NVARCHAR2 strings as NULL. As an empty string is always valid within the C++ context, VARCHAR2 and NVARCHAR2 columns are always specified as nullable. | |||||
2011-10-21 | Cascade constraints when dropping Oracle tables | Constantin Michael | 1 | -1/+1 | |
2011-10-21 | Minimize Oracle schema_emitter implementation | Constantin Michael | 2 | -15/+5 | |
2011-10-21 | Use cached auto_id flag to determine presence of auto increment column | Constantin Michael | 2 | -22/+7 | |
2011-10-21 | Add a context flag indicating whether AS SQL keyword should be used for aliases | Constantin Michael | 6 | -0/+10 | |
2011-10-21 | Do not allocate a buffer for LOB images as connections now maintain one | Constantin Michael | 2 | -10/+6 | |
2011-10-21 | Generate object traits auto id flag for all databases | Constantin Michael | 2 | -17/+3 | |
2011-10-21 | Generate Oracle code using updated bind callback and context members | Constantin Michael | 2 | -7/+6 | |
2011-10-21 | Initialize position context to zero prior to Oracle LOB set_image call | Constantin Michael | 1 | -1/+2 | |
2011-10-21 | Aesthetic changes and syntax corrections | Constantin Michael | 2 | -5/+5 | |
2011-10-21 | Correct Oracle SQL type parser implementation | Constantin Michael | 1 | -12/+14 | |
2011-10-21 | Utilize the RAW buffer type | Constantin Michael | 1 | -1/+1 | |
2011-10-21 | Generate select_statement::stream_result in Oracle source | Constantin Michael | 1 | -0/+6 | |
2011-10-21 | Add init_value_extra hook to relational source generation | Constantin Michael | 1 | -5/+16 | |
2011-10-21 | Specialize schema_emitter for Oracle | Constantin Michael | 1 | -0/+47 | |
SQLPlus scripts are required to indicate PL/SQL block terminations with a trail '/'. | |||||
2011-10-21 | Allow per database specialization of schema_emitter | Constantin Michael | 2 | -34/+36 | |
2011-10-21 | Update init_image and init_value generation to use updated LOB traits | Constantin Michael | 1 | -2/+0 | |
2011-10-21 | Use an auto_descriptor to manage a bound result LOB | Constantin Michael | 1 | -1/+18 | |
2011-10-21 | Use the quoted column name of the id member in the auto id trigger body | Constantin Michael | 1 | -1/+1 | |
2011-10-21 | Remove local is_null variable used during value initialization | Constantin Michael | 1 | -17/+20 | |
The null state of the image is established in-line when traits set_value function is invoked. |