Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-11-07 | Get rid of GCC 7 case fall-through warnings | Boris Kolpackov | 1 | -3/+1 | |
2017-01-03 | Update copyright year | Boris Kolpackov | 9 | -9/+9 | |
2016-11-27 | Fix bug in handling section members that require growth | Boris Kolpackov | 1 | -2/+2 | |
2015-09-07 | Unwrap the type before checking whether it is unsigned | Boris Kolpackov | 2 | -1/+4 | |
2015-07-15 | Implement SQLite incremental BLOB/TEXT I/O | Boris Kolpackov | 1 | -5/+11 | |
2015-07-03 | Implement nested id support | Boris Kolpackov | 1 | -3/+3 | |
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 | 2 | -16/+22 | |
2015-02-06 | Update copyright | Boris Kolpackov | 9 | -9/+9 | |
2015-02-05 | Implement result modifiers in view query condition | Boris Kolpackov | 1 | -0/+15 | |
2015-02-04 | Implement object loading views | Boris Kolpackov | 4 | -40/+21 | |
See section 10.2 in the manual for details. | |||||
2015-01-22 | Add support for warning about SQL name truncations in Oracle | Boris Kolpackov | 1 | -3/+170 | |
Also detect and issue diagnostics when such truncations lead to name conflicts. | |||||
2014-11-26 | Reimplement image copying for Oracle | Boris Kolpackov | 1 | -1/+1 | |
Now we no longer "steal" descriptors (destructive copy). Instead, for LOBs, we clone the locator using OCILobAssign(). For date-time types we extract the data during copying. As a result of this change we no longer need to track image changes and rebind the statements. | |||||
2014-11-25 | Implement bulk database operation support for Oracle and SQL Server | Boris Kolpackov | 2 | -0/+31 | |
2013-10-15 | Automatically map C++11 enum classes (strong enums) | Boris Kolpackov | 1 | -8/+1 | |
2013-09-15 | Cleanup polymorphic base tables when dropping derived one | Boris Kolpackov | 1 | -7/+22 | |
2013-08-30 | Statement processing/optimization base work | Boris Kolpackov | 1 | -14/+13 | |
2013-08-14 | Add support for object sections | Boris Kolpackov | 1 | -0/+12 | |
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-04-26 | Add support for extra database info in primary key | Boris Kolpackov | 2 | -7/+14 | |
Use that to handle Oracle sequence name and SQLite lax auto ids. | |||||
2013-04-25 | Add support for schema version table | Boris Kolpackov | 1 | -0/+50 | |
2013-04-10 | Clean up class order in schema generators | Boris Kolpackov | 1 | -33/+37 | |
2013-04-10 | Get rid of ALTER TABLE callback since it is the same for all databases | Boris Kolpackov | 1 | -10/+12 | |
2013-04-10 | Use single ALTER TABLE to add foreign keys on pass 2 | Boris Kolpackov | 1 | -2/+2 | |
2013-04-10 | Write NULL/NOT NULL before DEFAULT in generated schemas | Boris Kolpackov | 1 | -0/+20 | |
This way we avoid DEFAULT NULL NULL, except for Oracle which insists on a specific order. | |||||
2013-04-10 | Generate add/drop foreign key migration statements | Boris Kolpackov | 1 | -103/+84 | |
Also add the --fkeys-deferrable-mode option. General schemas generation rework. | |||||
2013-04-10 | Add NOT NULL column without default value initially as NULL | Boris Kolpackov | 1 | -6/+7 | |
2013-04-10 | Generate alter column migration statements | Boris Kolpackov | 1 | -6/+59 | |
2013-04-10 | Generate add/drop column migration statements | Boris Kolpackov | 1 | -0/+92 | |
2013-04-10 | Generate add/drop index migration statements | Boris Kolpackov | 1 | -1/+18 | |
2013-04-10 | Generate add/drop table migration statements | Boris Kolpackov | 1 | -28/+54 | |
2013-02-09 | Update copyright year | Boris Kolpackov | 9 | -9/+9 | |
2013-02-05 | Add support for change-tracking containers | Boris Kolpackov | 1 | -1/+1 | |
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-24 | Add support for mapping char[N] to CHAR/VARCHAR database types | Boris Kolpackov | 2 | -4/+49 | |
Also improve query support for arrays (decaying). | |||||
2012-12-12 | Add support for SQL name transformations | Boris Kolpackov | 4 | -26/+38 | |
2012-11-21 | Add dynamic multi-database query support | Boris Kolpackov | 1 | -6/+12 | |
2012-10-08 | Ground work for multi-database support | Boris Kolpackov | 1 | -1/+2 | |
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. | |||||
2012-09-04 | NULL handling improvements | Boris Kolpackov | 2 | -65/+25 | |
Add support for specifying NULL-ness for types with built-in mapping. Handle Oracle [N]VARCHAR2 and SQLite FLOAT oddities using this mechanism instead of overriding it at the schema generation level. Also use the is_null argument that is passed to value_traits::init_image() to indicate whether the value can be NULL. | |||||
2012-08-15 | Add support for member accessors/modifiers | Boris Kolpackov | 1 | -0/+39 | |
New pragmas: get, set, access. New test: common/access. | |||||
2012-07-27 | Move indexes from model scope to table scope | Boris Kolpackov | 1 | -0/+20 | |
Conceptually, indexes belong to tables and some databases (MySQL, MSSQL) indeed treat them as such (i.e., you can have indexes with the same name in different tables). | |||||
2012-07-25 | Simplify auto id implementation in Oracle | Boris Kolpackov | 3 | -44/+13 | |
Specifically, instead of using a trigger to assign the next id from the sequence, get the next value directly in the INSERT statement. | |||||
2012-07-17 | Remove unnecessary instance<> usage | Boris Kolpackov | 1 | -2/+2 | |
2012-07-11 | Drop Oracle trigger and sequence only if we have auto primary key | Boris Kolpackov | 1 | -18/+38 | |
2012-07-10 | Add support for custom database type mapping | Boris Kolpackov | 5 | -64/+132 | |
New pragma qualifier, map, and specifiers: as, to, from. New tests: <database>/custom. | |||||
2012-07-10 | Add missing newline | Boris Kolpackov | 1 | -1/+1 | |
2012-06-29 | Cosmetic changes | Boris Kolpackov | 1 | -1/+1 | |
2012-04-27 | Add support for NULL pointers to objects with composite object ids | Boris Kolpackov | 1 | -0/+43 | |
2012-04-25 | Fix auto id handling in polymorphic objects | Boris Kolpackov | 1 | -1/+4 | |
2012-04-23 | Polymorphic inheritance support | Boris Kolpackov | 4 | -140/+52 | |
2012-03-09 | Don't override NOT NULL on Oracle VARCHAR column if it's primary key | Boris Kolpackov | 1 | -4/+21 | |
2012-03-07 | Use RAII to free select statement results | Boris Kolpackov | 1 | -0/+1 | |
2012-03-05 | Add support for generating schema creation code into separate C++ file | Boris Kolpackov | 1 | -6/+6 | |