Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-09-05 | Versioned section support | Boris Kolpackov | 1 | -1/+25 | |
2013-09-02 | Fix UPDATE statement for smart containers with read-only value members | Boris Kolpackov | 1 | -2/+7 | |
Here we have to include them (think what happens when we erase an element somewhere in the middle of a container). | |||||
2013-09-02 | Support for versioning simple value in object | Boris Kolpackov | 1 | -3/+32 | |
2013-08-30 | Statement processing/optimization base work | Boris Kolpackov | 1 | -16/+26 | |
2013-08-14 | Add support for object sections | Boris Kolpackov | 4 | -59/+200 | |
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-25 | Add support for schema version table | Boris Kolpackov | 1 | -0/+103 | |
2013-04-10 | Clean up class order in schema generators | Boris Kolpackov | 1 | -0/+4 | |
2013-04-10 | Generate add/drop foreign key migration statements | Boris Kolpackov | 1 | -88/+12 | |
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 | -3/+3 | |
2013-04-10 | Generate alter column migration statements | Boris Kolpackov | 1 | -0/+13 | |
2013-04-10 | Generate add/drop table migration statements | Boris Kolpackov | 1 | -4/+7 | |
2013-04-10 | Move type check to model creation instead of schema generation | Boris Kolpackov | 2 | -10/+34 | |
This way we make sure cxx-location is only used during model creation. As a result, we can now generate schema from a model instantiated from XML. | |||||
2013-02-09 | Update copyright year | Boris Kolpackov | 9 | -9/+9 | |
2013-02-07 | Rename boolean to boolean_ (macro clash) | Boris Kolpackov | 1 | -1/+1 | |
2013-02-05 | Add support for change-tracking containers | Boris Kolpackov | 2 | -28/+127 | |
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/+37 | |
Also improve query support for arrays (decaying). | |||||
2012-12-12 | Add support for SQL name transformations | Boris Kolpackov | 3 | -13/+6 | |
2012-11-21 | Add dynamic multi-database query support | Boris Kolpackov | 1 | -1/+1 | |
2012-11-20 | Merge branch '2.1' | Boris Kolpackov | 1 | -0/+6 | |
2012-11-20 | Ignore polymorphic id reference when generating grow()2.1.12.1 | Boris Kolpackov | 1 | -0/+6 | |
2012-10-19 | Completion of prepared query support | Boris Kolpackov | 1 | -14/+24 | |
2012-10-19 | Initial support for prepared queries | Boris Kolpackov | 1 | -2/+3 | |
2012-10-08 | Ground work for multi-database support | Boris Kolpackov | 2 | -4/+5 | |
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 | 1 | -21/+23 | |
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-14 | Fix potential container statement name conflict | Boris Kolpackov | 1 | -3/+6 | |
2012-07-27 | Handle special case of array of zero elements | Boris Kolpackov | 1 | -0/+7 | |
2012-07-27 | Add support for defining indexes | Boris Kolpackov | 1 | -4/+47 | |
New db pragma qualifier: index. New tests: common/index, mysql/index, pgsql/index. | |||||
2012-07-27 | Move indexes from model scope to table scope | Boris Kolpackov | 1 | -2/+6 | |
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 | 1 | -10/+1 | |
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-25 | Clean up PostgreSQL auto id implementation | Boris Kolpackov | 2 | -6/+11 | |
Specifically, avoid sending the auto id value. | |||||
2012-07-17 | Remove unnecessary instance<> usage | Boris Kolpackov | 2 | -25/+25 | |
2012-07-10 | Add support for custom database type mapping | Boris Kolpackov | 4 | -44/+131 | |
New pragma qualifier, map, and specifiers: as, to, from. New tests: <database>/custom. | |||||
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 | -177/+87 | |
2012-03-07 | Use RAII to free select statement results | Boris Kolpackov | 1 | -0/+1 | |
2012-02-22 | Add support for composite object ids | Boris Kolpackov | 6 | -571/+111 | |
New pragma id_type (member). New test: common/composite-id. The composite example has also been updated. | |||||
2012-01-29 | Update copyright year | Boris Kolpackov | 8 | -8/+8 | |
2012-01-29 | Remove author field from file header | Boris Kolpackov | 8 | -8/+0 | |
Too much effort to maintain. | |||||
2012-01-26 | Implement support for database schema | Boris Kolpackov | 1 | -3/+17 | |
New pragma qualifier: namespace. New pragma specifier: schema. The table specifier was extended to accept a schema prefix. New option: --default- schema. The common/schema test was extended to cover the new functionality. | |||||
2012-01-20 | Remove unnecessary qualification | Boris Kolpackov | 1 | -1/+1 | |
2012-01-20 | Add support for case where we don't send auto object id in INSERT | Boris Kolpackov | 1 | -0/+1 | |
2012-01-20 | ODB compiler implementation, traits, and types test for SQL Server | Boris Kolpackov | 1 | -1/+6 | |
2012-01-08 | Add support for defining composite value type as class template instantiations | Boris Kolpackov | 1 | -5/+5 | |
2011-11-09 | Make sure we can use same type as both container and simple value | Boris Kolpackov | 4 | -9/+20 | |
2011-11-01 | Implement support for optimistic concurrency | Boris Kolpackov | 2 | -15/+79 | |
New pragmas: optimistic, version. New test: optimistic. New database function: reload(). | |||||
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 | 1 | -14/+20 | |
New pragma id (object). New test: common/no-id. | |||||
2011-10-24 | Generate database schema from database model instead of C++ model | Boris Kolpackov | 4 | -243/+216 | |
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 | -32/+77 | |
Const data members are automatically treated as readonly. New test: const-member. |