Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-11-01 | Rename local variable to improve readability | Constantin Michael | 1 | -3/+3 | |
2011-11-01 | Use lob_auto_descriptor pointer as LOB image type | Constantin Michael | 1 | -2/+1 | |
2011-11-01 | Generate an image inline function that will return its change_callback member | Constantin Michael | 2 | -4/+22 | |
libodb-oracle references the change_callback member of an image even when code is generated without query support. In order to avoid invalid references, the change_callback member is accessed via a getter method that is always generated. | |||||
2011-11-01 | Do not generate image version or change_callback members for abstract objects | Constantin Michael | 2 | -3/+4 | |
2011-11-01 | Implement query image change callback machinery | Constantin Michael | 2 | -0/+21 | |
2011-10-27 | Add support for persistent classes without object ids | Boris Kolpackov | 1 | -1/+1 | |
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 | Disable result caching in Oracle | Constantin Michael | 1 | -0/+14 | |
2011-10-24 | Generate database schema from database model instead of C++ model | Boris Kolpackov | 4 | -263/+272 | |
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-21 | Add support for const data members | Boris Kolpackov | 4 | -23/+64 | |
Const data members are automatically treated as readonly. New test: const-member. | |||||
2011-10-21 | Add support for readonly members | Boris Kolpackov | 1 | -12/+53 | |
New pragma: readonly. New test: readonly. | |||||
2011-10-21 | Split 'in' binding into insert/update pair; rename 'out' to select | Boris Kolpackov | 1 | -7/+48 | |
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 | Add schema_file implementation to support schema file header and footer hooks | Constantin Michael | 1 | -0/+25 | |
2011-10-21 | Refactor persist statement hook | Constantin Michael | 1 | -17/+3 | |
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 | 1 | -1/+1 | |
2011-10-21 | Aesthetic changes and small bug fixes | Constantin Michael | 1 | -1/+1 | |
2011-10-21 | Add persist_stmt hook to handle generation of persist statement SQL | Constantin Michael | 1 | -0/+29 | |
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 | 1 | -14/+4 | |
2011-10-21 | Add a context flag indicating whether AS SQL keyword should be used for aliases | Constantin Michael | 1 | -0/+1 | |
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 | 1 | -17/+0 | |
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 | 1 | -2/+4 | |
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 | 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 | 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. | |||||
2011-10-21 | Initialise lob_callback member of oracle::bind structure | Constantin Michael | 1 | -0/+2 | |
2011-10-21 | Correct bind::capacity initialization expression for big_int and string | Constantin Michael | 1 | -4/+4 | |
2011-10-21 | Enforce maximum byte length for CHAR, NCHAR, VARCHAR2 and NVARCHAR2 images | Constantin Michael | 1 | -2/+10 | |
2011-10-21 | Add an additional byte of storage to the big_int image for a terminator byte | Constantin Michael | 1 | -2/+3 | |
2011-10-21 | Aesthetic changes and comment additions | Constantin Michael | 3 | -8/+10 | |
2011-10-21 | Add Oracle header and source implementations | Constantin Michael | 2 | -0/+941 | |
2011-10-21 | Implement unsigned_integer as part of oracle::context | Constantin Michael | 3 | -13/+16 | |
2011-10-21 | Use GNU GPL v3 license for ODB compiler files | Constantin Michael | 5 | -5/+5 | |
2011-10-21 | Implement oracle_version comparison operators and initializing constructor | Constantin Michael | 1 | -3/+1 | |
2011-10-21 | Correct Oracle auto ID trigger implementation | Constantin Michael | 1 | -4/+6 | |