aboutsummaryrefslogtreecommitdiff
path: root/odb
AgeCommit message (Collapse)AuthorFilesLines
2013-02-09Bump version to 2.2.0Boris Kolpackov1-4/+4
2013-02-09Update copyright yearBoris Kolpackov198-199/+199
2013-02-07Use multi-pass table creation in MySQLBoris Kolpackov1-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-07Rename boolean to boolean_ (macro clash)Boris Kolpackov1-1/+1
2013-02-06Install plugin to pkgexecdir instead of bindirBoris Kolpackov3-32/+56
2013-02-06Respect DESTDIR in install hookBoris Kolpackov1-1/+1
Thanks to Hugo Mildenberger <Hugo.Mildenberger@web.de> for the patch.
2013-02-05Add support for change-tracking containersBoris Kolpackov11-416/+1072
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-24Add support for mapping char[N] to CHAR/VARCHAR database typesBoris Kolpackov13-45/+222
Also improve query support for arrays (decaying).
2013-01-23Add commentBoris Kolpackov1-1/+2
2013-01-16Make session cache management functions static, add notificationsBoris Kolpackov1-4/+9
2013-01-16Implement two-phase session insertionBoris Kolpackov1-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-16Add support for using custom session implementationsBoris Kolpackov2-8/+31
New option, --session-type.
2013-01-15Bump version to 2.2.0.a3Boris Kolpackov1-4/+4
2013-01-14Fix bug in handling polymorphic derived classes without any value membersBoris Kolpackov1-27/+51
2013-01-14Add support for MSSQL ROWVERSIONBoris Kolpackov5-39/+214
ODB can now use ROWVERSION column as an optimistic concurrency version.
2013-01-10Handle -x option in default options fileBoris Kolpackov1-11/+39
This can be used, for example, to override the g++ executable path.
2012-12-12Bump version to 2.2.0.a22.2.0.a2Boris Kolpackov1-4/+4
2012-12-12Get rid of warningBoris Kolpackov1-1/+1
2012-12-12Add support for SQL name transformationsBoris Kolpackov29-385/+790
2012-12-05Documentation for multi-database supportBoris Kolpackov1-7/+23
2012-12-05Cosmetic changeBoris Kolpackov1-1/+1
2012-12-03Make --export-symbol and --extern-symbole values database-prefixableBoris Kolpackov6-16/+28
2012-11-28Add support for DLL exporting of generated codeBoris Kolpackov11-156/+354
New options: --export-symbol, --extern-symbol.
2012-11-21Add dynamic multi-database query supportBoris Kolpackov29-1536/+2699
2012-11-21Generate query tags in object_traits for dynamic multi-database supportBoris Kolpackov4-86/+129
2012-11-21Move some of the preprocessing from relational to commonBoris Kolpackov9-1094/+1264
2012-11-21Fix inefficiency in container processingBoris Kolpackov1-1/+1
2012-11-21Rework query alias tag systemBoris Kolpackov5-137/+283
Now each object pointer or view-associated object with alias gets its own unique tag.
2012-11-21Add dynamic multi-database support excluding queryBoris Kolpackov8-46/+439
2012-11-20Merge branch '2.1'Boris Kolpackov3-0/+18
2012-11-20Ignore polymorphic id reference when generating grow()2.1.12.1Boris Kolpackov3-0/+18
2012-10-29Suppress warningBoris Kolpackov1-1/+1
2012-10-29Bump version to 2.2.0.a12.2.0.a1Boris Kolpackov1-4/+4
2012-10-29Add support for database prefixes in command line interfaceBoris Kolpackov9-233/+450
2012-10-29Cast odb::database to concrete type when initializing object pointerBoris Kolpackov1-2/+4
2012-10-25Add support for database prefixes in pragma languageBoris Kolpackov3-36/+229
2012-10-25Static multi-database supportBoris Kolpackov23-2203/+2852
Add new options (--multi-database, --default-database). Generate common code to -odb.?xx files and database-specific to -odb-<db>.?xx.
2012-10-19Implement early connection releaseBoris Kolpackov1-2/+2
2012-10-19Completion of prepared query supportBoris Kolpackov7-273/+405
2012-10-19Initial support for prepared queriesBoris Kolpackov7-137/+309
2012-10-08Ground work for multi-database supportBoris Kolpackov15-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-08Fix bug in transient inheritance handlingBoris Kolpackov1-4/+0
Also test that we can handle it for objects, composite values, and views.
2012-10-04Make sure we detect TR1 pointers when used as wrappersBoris Kolpackov1-3/+29
2012-10-02Instantiate type of virtual data member with by-value accessorBoris Kolpackov1-7/+42
2012-10-02Bump version to 2.1.1Boris Kolpackov1-2/+2
2012-10-02Cosmetic changeBoris Kolpackov1-1/+1
2012-10-02Fix regression in include directive generationBoris Kolpackov1-1/+2
Make sure we remove the directory part.
2012-09-20Fix typoBoris Kolpackov1-1/+1
2012-09-17Convert integer and floating default values immediately2.1.0Boris Kolpackov3-82/+73
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-17GCC 4.8 compatibility fixesBoris Kolpackov1-2/+3