Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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. | |||||
2012-08-31 | Add support for virtual data members | Boris Kolpackov | 1 | -74/+77 | |
New test: common/virtual. | |||||
2012-08-16 | Add support for automatically discovering accessor/modifier functions | Boris Kolpackov | 1 | -28/+28 | |
New options: --{accessor,modifier}-regex, --{accessor,modifier}-regex-trace. | |||||
2012-08-15 | Add support for member accessors/modifiers | Boris Kolpackov | 1 | -102/+237 | |
New pragmas: get, set, access. New test: common/access. | |||||
2012-07-27 | Add support for defining indexes | Boris Kolpackov | 1 | -1/+1 | |
New db pragma qualifier: index. New tests: common/index, mysql/index, pgsql/index. | |||||
2012-07-27 | Use cxx_lexer interface instead of pragma_lex() directly | Boris Kolpackov | 1 | -31/+34 | |
This will allow us to use different kinds of cxx_lexer implementations in the future. | |||||
2012-07-25 | Simplify auto id implementation in Oracle | Boris Kolpackov | 1 | -25/+26 | |
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-16 | Simplify query inheritance hierarchy | Boris Kolpackov | 1 | -1/+1 | |
This should also allow Sun CC handle queries for objects with circular dependencies. | |||||
2012-07-10 | Add support for custom database type mapping | Boris Kolpackov | 1 | -9/+14 | |
New pragma qualifier, map, and specifiers: as, to, from. New tests: <database>/custom. | |||||
2012-04-30 | Rework polymorphic info and entry static variables | Boris Kolpackov | 1 | -4/+7 | |
Make entry file-static. Move info further down in class definition. Make both const. This helps VC++. | |||||
2012-04-27 | Don't generate grow code for databases that don't need it | Boris Kolpackov | 1 | -15/+45 | |
2012-04-27 | Add support for NULL pointers to objects with composite object ids | Boris Kolpackov | 1 | -1/+0 | |
2012-04-23 | Polymorphic inheritance support | Boris Kolpackov | 1 | -0/+3245 | |
2012-01-29 | Update copyright year | Boris Kolpackov | 1 | -1/+1 | |
2012-01-29 | Remove author field from file header | Boris Kolpackov | 1 | -1/+0 | |
Too much effort to maintain. | |||||
2012-01-08 | Add support for defining composite value type as class template instantiations | Boris Kolpackov | 1 | -1/+5 | |
2011-11-09 | Make sure we can use same type as both container and simple value | Boris Kolpackov | 1 | -2/+4 | |
2011-10-21 | Add support for const data members | Boris Kolpackov | 1 | -2/+2 | |
Const data members are automatically treated as readonly. New test: const-member. | |||||
2011-10-02 | If query substituting placeholder is empty, pass true expression instead | Boris Kolpackov | 1 | -1/+1 | |
This allows uniform usage of views both with and without any extra conditions. Also optimize some common cases so that we don't have useless WHERE TRUE clauses or (...) AND (TRUE) expressions. | |||||
2011-09-27 | Add support for associating tables with views | Boris Kolpackov | 1 | -2/+2 | |