Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-02-07 | Use multi-pass table creation in MySQL | Boris Kolpackov | 1 | -25/+204 | |
This deals with table creation order and circular dependencies. Unfortunately, there doesn't seem to be a way in MySQL to drop a foreign key only if it exists without resorting to stored procedures. | |||||
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 | 8 | -401/+976 | |
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 | 11 | -26/+206 | |
Also improve query support for arrays (decaying). | |||||
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 | 5 | -39/+214 | |
ODB can now use ROWVERSION column as an optimistic concurrency version. | |||||
2012-12-12 | Get rid of warning | Boris Kolpackov | 1 | -1/+1 | |
2012-12-12 | Add support for SQL name transformations | Boris Kolpackov | 21 | -152/+208 | |
2012-11-28 | Add support for DLL exporting of generated code | Boris Kolpackov | 3 | -20/+29 | |
New options: --export-symbol, --extern-symbol. | |||||
2012-11-21 | Add dynamic multi-database query support | Boris Kolpackov | 13 | -1342/+478 | |
2012-11-21 | Generate query tags in object_traits for dynamic multi-database support | Boris Kolpackov | 2 | -86/+11 | |
2012-11-21 | Move some of the preprocessing from relational to common | Boris Kolpackov | 1 | -1030/+37 | |
2012-11-21 | Fix inefficiency in container processing | Boris Kolpackov | 1 | -1/+1 | |
2012-11-21 | Rework query alias tag system | Boris Kolpackov | 5 | -137/+283 | |
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 | 2 | -5/+68 | |
2012-11-20 | Merge branch '2.1' | Boris Kolpackov | 3 | -0/+18 | |
2012-11-20 | Ignore polymorphic id reference when generating grow()2.1.12.1 | Boris Kolpackov | 3 | -0/+18 | |
2012-10-29 | Add support for database prefixes in command line interface | Boris Kolpackov | 1 | -1/+1 | |
2012-10-29 | Cast odb::database to concrete type when initializing object pointer | Boris Kolpackov | 1 | -2/+4 | |
2012-10-25 | Static multi-database support | Boris Kolpackov | 7 | -1510/+351 | |
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 | 5 | -270/+402 | |
2012-10-19 | Initial support for prepared queries | Boris Kolpackov | 5 | -137/+296 | |
2012-10-08 | Ground work for multi-database support | Boris Kolpackov | 15 | -252/+401 | |
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-10-04 | Make sure we detect TR1 pointers when used as wrappers | Boris Kolpackov | 1 | -3/+29 | |
2012-10-02 | Instantiate type of virtual data member with by-value accessor | Boris Kolpackov | 1 | -7/+42 | |
2012-09-17 | Convert integer and floating default values immediately2.1.0 | Boris Kolpackov | 1 | -62/+10 | |
It appears that GCC 4.8 reuses token tree nodes that are returned during pragma parsing. So saving such nodes for later no longer works. | |||||
2012-09-16 | Set explicit unlimited size for MSSQL TEXT, NTEXT, and IMAGE types | Boris Kolpackov | 1 | -0/+8 | |
2012-09-14 | Use assignment instead of construction syntax to help VC++ | Boris Kolpackov | 1 | -8/+14 | |
2012-09-13 | Add --omit-drop and --omit-create options | Boris Kolpackov | 1 | -3/+10 | |
2012-09-13 | Add --sql-interlude and --sql-interlude-file options | Boris Kolpackov | 2 | -44/+53 | |
2012-09-12 | Implement --output-name, --generate-schema-only, and --at-once options | Boris Kolpackov | 5 | -6/+6 | |
2012-09-10 | Add support for alternative UTF-16 image for TEXT in SQLite | Boris Kolpackov | 2 | -2/+5 | |
Use it to handle QString and support std::wstring on Windows. | |||||
2012-09-04 | NULL handling improvements | Boris Kolpackov | 7 | -150/+124 | |
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-31 | Add support for virtual data members | Boris Kolpackov | 3 | -217/+261 | |
New test: common/virtual. | |||||
2012-08-16 | Add support for automatically discovering accessor/modifier functions | Boris Kolpackov | 4 | -148/+390 | |
New options: --{accessor,modifier}-regex, --{accessor,modifier}-regex-trace. | |||||
2012-08-15 | Add support for member accessors/modifiers | Boris Kolpackov | 6 | -303/+939 | |
New pragmas: get, set, access. New test: common/access. | |||||
2012-08-15 | Factor out check for SQL Server long data | Boris Kolpackov | 5 | -88/+56 | |
2012-08-14 | Fix potential container statement name conflict | Boris Kolpackov | 1 | -3/+6 | |
2012-08-01 | Add support for empty column names in composite value types | Boris Kolpackov | 4 | -65/+70 | |
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 | 9 | -82/+696 | |
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 | 8 | -156/+149 | |
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-27 | Use cxx_lexer interface instead of pragma_lex() directly | Boris Kolpackov | 2 | -47/+51 | |
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 | 6 | -101/+71 | |
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 | 4 | -29/+29 | |
2012-07-17 | Implement multi-pass table dropping for SQL Server | Boris Kolpackov | 2 | -14/+108 | |
We have to first drop constraints before dropping tables in case the tables are dropped in a wrong order or there are circular dependencies. |