Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2016-10-26 | Implement support for mixed auto/manual id assignment in SQLite | Boris Kolpackov | 1 | -1/+0 | |
Now one can do: #pragma db id auto odb::nullable<int64_t> id; And then set the id to NULL to get auto-assignment or to the actual value to use a manual id. | |||||
2016-08-15 | Lock object statements when loading sections | Boris Kolpackov | 1 | -31/+59 | |
Since we use the id image and loading of object pointers can overwrite it. | |||||
2016-04-04 | Add _has_cache() custom session interface, use in OLV implementation | Boris Kolpackov | 1 | -1/+1 | |
2016-03-30 | Assert that statements are not already locked in top-level calls | Boris Kolpackov | 1 | -0/+2 | |
This can be violated with crafty callbacks. | |||||
2015-07-15 | Implement SQLite incremental BLOB/TEXT I/O | Boris Kolpackov | 1 | -15/+21 | |
2015-07-03 | Implement nested id support | Boris Kolpackov | 1 | -23/+53 | |
Now the 'id' specifier can optionally include the data member path to the id inside the composite value. For example: #pragma db id(first) std::pair<int, int> p; Note that one somewhat counter-intuitive aspect of this new feature is that the whole member marked with id ('p' in the above example) and not just the actual id member ('p.first' in the above example) is treated as readonly. Such nested id also cannot be automatically assigned (auto specifier). | |||||
2015-07-02 | C++ type mapping support for container elementsas | Boris Kolpackov | 1 | -4/+4 | |
2015-06-24 | Cleanup of member access | Boris Kolpackov | 1 | -325/+57 | |
2015-06-22 | Implement member type mapping, more m.type() cleanups | Boris Kolpackov | 1 | -6/+6 | |
2015-06-16 | Use (!) to denote database in modifier expressions | Boris Kolpackov | 1 | -2/+6 | |
2015-06-16 | Implement support for nested members in inverse pragma | Boris Kolpackov | 1 | -28/+26 | |
2015-02-06 | Update copyright | Boris Kolpackov | 1 | -1/+1 | |
2015-02-06 | Implement join types support in views | Boris Kolpackov | 1 | -11/+61 | |
2015-02-05 | Implement result modifiers in view query condition | Boris Kolpackov | 1 | -1/+12 | |
2015-02-04 | Implement object loading views | Boris Kolpackov | 1 | -503/+602 | |
See section 10.2 in the manual for details. | |||||
2014-11-26 | Implement optimistic concurrency support in bulk operations | Boris Kolpackov | 1 | -26/+200 | |
Bulk update and SQL Server ROWVERSION not yet supported. | |||||
2014-11-25 | Implement bulk database operation support for Oracle and SQL Server | Boris Kolpackov | 1 | -4/+405 | |
2014-11-19 | Allow empty runtime and execute views | Boris Kolpackov | 1 | -38/+46 | |
Use them to handle INSERT/UPDATE SQL Server stored procedures. | |||||
2014-09-06 | Fix bug in view query assembly for stored procedure call | Boris Kolpackov | 1 | -1/+1 | |
2013-09-28 | Make schema version access (but not modification) thread-safe | Boris Kolpackov | 1 | -89/+101 | |
Also cache the version in statements so that we don't have to lock the mutex (slow) every time we need to check the version. | |||||
2013-09-17 | Fix polymorphic section index overrun2.3.0.b1 | Boris Kolpackov | 1 | -8/+19 | |
2013-09-10 | Schema versioning support for rest of database | Boris Kolpackov | 1 | -20/+22 | |
2013-09-06 | Rename flags for clarity | Boris Kolpackov | 1 | -5/+4 | |
2013-09-05 | Versioned section support | Boris Kolpackov | 1 | -27/+145 | |
2013-09-04 | View versioning support | Boris Kolpackov | 1 | -25/+84 | |
2013-09-04 | Container versioning support | Boris Kolpackov | 1 | -15/+49 | |
2013-09-03 | Handling of dynamic empty statements as result of versioning | Boris Kolpackov | 1 | -79/+79 | |
2013-09-02 | Support for versioning simple value in object | Boris Kolpackov | 1 | -84/+182 | |
2013-08-30 | Statement processing/optimization base work | Boris Kolpackov | 1 | -166/+275 | |
2013-08-28 | Support for added and deleted data member pragmas | Boris Kolpackov | 1 | -45/+57 | |
2013-08-14 | Add support for object sections | Boris Kolpackov | 1 | -154/+939 | |
Sections are an optimization mechanism that allows the partitioning of data members of a persistent class into groups that can be separately loaded and/or updated. | |||||
2013-06-13 | Add support for native views that call stored procedures | Boris Kolpackov | 1 | -7/+33 | |
2013-04-10 | Generate embedded schema in single function instead of one per object | Boris Kolpackov | 1 | -5/+0 | |
2013-04-10 | Generate add/drop foreign key migration statements | Boris Kolpackov | 1 | -1/+1 | |
Also add the --fkeys-deferrable-mode option. General schemas generation rework. | |||||
2013-04-01 | Handle inverse member in base class of polymorphic hierarchy | Boris Kolpackov | 1 | -12/+17 | |
2013-02-09 | Update copyright year | Boris Kolpackov | 1 | -1/+1 | |
2013-02-05 | Add support for change-tracking containers | Boris Kolpackov | 1 | -128/+173 | |
ODB now supports "smart" ordered containers. Such containers get extra functions for updating and deleting individual elements. Based on this functionality implement two change-tracking containers: odb::vector (equivalent to std::vector) and QOdbList (equivalent to QList). New tests: common/container/change-tracking and qt/common/container/change- tracking. | |||||
2013-01-16 | Make session cache management functions static, add notifications | Boris Kolpackov | 1 | -4/+9 | |
2013-01-16 | Implement two-phase session insertion | Boris Kolpackov | 1 | -2/+5 | |
On the first step an uninitialized object is inserted into the cache as before (this is necessary to handle recursive loading). The second step is to notify the session that the object has been initialized. On this second step the session can perform change tracking preparations, such as make a copy of the object or reset the modification flag. New test: common/session/custom (implements a custom session that uses copies to track changes). | |||||
2013-01-14 | Fix bug in handling polymorphic derived classes without any value members | Boris Kolpackov | 1 | -27/+51 | |
2013-01-14 | Add support for MSSQL ROWVERSION | Boris Kolpackov | 1 | -7/+19 | |
ODB can now use ROWVERSION column as an optimistic concurrency version. | |||||
2012-12-12 | Add support for SQL name transformations | Boris Kolpackov | 1 | -9/+12 | |
2012-11-21 | Add dynamic multi-database query support | Boris Kolpackov | 1 | -57/+121 | |
2012-11-21 | Rework query alias tag system | Boris Kolpackov | 1 | -4/+49 | |
Now each object pointer or view-associated object with alias gets its own unique tag. | |||||
2012-11-21 | Add dynamic multi-database support excluding query | Boris Kolpackov | 1 | -5/+65 | |
2012-10-25 | Static multi-database support | Boris Kolpackov | 1 | -2/+2 | |
Add new options (--multi-database, --default-database). Generate common code to -odb.?xx files and database-specific to -odb-<db>.?xx. | |||||
2012-10-19 | Implement early connection release | Boris Kolpackov | 1 | -2/+2 | |
2012-10-19 | Completion of prepared query support | Boris Kolpackov | 1 | -28/+128 | |
2012-10-19 | Initial support for prepared queries | Boris Kolpackov | 1 | -112/+251 | |
2012-10-08 | Ground work for multi-database support | Boris Kolpackov | 1 | -12/+15 | |
All generated code now includes database id. The database-specific database class interface has been updated to include all the database operations. The database-specific tests now use this interface. |