Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-11-03 | Update NEWS file1.7.0.a1 | Boris Kolpackov | 1 | -0/+5 | |
2011-11-03 | Add support for mapping char[N] and unsigned char[N] types to BLOB | Boris Kolpackov | 1 | -24/+36 | |
New test: common/blob. | |||||
2011-11-03 | Add support for mapping std::vector<unsigned char> to BLOB types | Boris Kolpackov | 1 | -9/+12 | |
2011-11-02 | Bump version to 1.7.0.a1 | Boris Kolpackov | 5 | -11/+11 | |
2011-11-02 | Update NEWS file with entry for optimistic concurrency | Boris Kolpackov | 1 | -0/+3 | |
2011-11-02 | Add result_iterator::id() function that returns id without loading object | Boris Kolpackov | 2 | -0/+26 | |
2011-11-01 | Fix bug in view column parsing | Boris Kolpackov | 1 | -6/+5 | |
2011-11-01 | Implement support for optimistic concurrency | Boris Kolpackov | 14 | -102/+716 | |
New pragmas: optimistic, version. New test: optimistic. New database function: reload(). | |||||
2011-11-01 | Rework statement interfaces wrt param/result passing | Boris Kolpackov | 1 | -17/+31 | |
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 | Format generated code nicely | Constantin Michael | 1 | -1/+2 | |
2011-11-01 | Do not generate image version or change_callback members for abstract objects | Constantin Michael | 3 | -4/+5 | |
2011-11-01 | Implement query image change callback machinery | Constantin Michael | 4 | -0/+35 | |
2011-10-31 | Add support for different plugin include paths in GCC 4.6.x | Boris Kolpackov | 1 | -2/+9 | |
2011-10-31 | Add missing closing tag | Boris Kolpackov | 1 | -1/+1 | |
2011-10-28 | Implement returning of auto id using RETURNING clause in PostgreSQL | Boris Kolpackov | 1 | -0/+12 | |
Before we used a separate SELECT lastval() query which was both inefficient and error-prone in cases where INSERT may cause triggers to override the last value. | |||||
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 | |