aboutsummaryrefslogtreecommitdiff
path: root/odb
AgeCommit message (Collapse)AuthorFilesLines
2013-06-21Various bug fixes for dynamic multi-database support2.2.22.2Boris Kolpackov5-49/+102
2013-06-13Add support for native views that call stored proceduresBoris Kolpackov4-17/+58
2013-06-08Propagate custom column name to polymorphic id refsBoris Kolpackov1-0/+10
2013-05-28Use correct stream objectBoris Kolpackov1-2/+2
2013-05-27Fix bug in default options file search logicBoris Kolpackov1-2/+4
2013-05-27Bump version to 2.2.2Boris Kolpackov1-2/+2
2013-05-27Don't generate explicit query template instantiations for reuse-abstract classesBoris Kolpackov1-13/+23
It is unnecessary plus there is no table name.
2013-05-27Generate object_traits_impl even for reuse-abstract classesBoris Kolpackov1-8/+11
It is used by query machinery even if it's just an alias for object_traits.
2013-05-27Implement more robust detection of before/after main file inclusionBoris Kolpackov1-4/+5
2013-05-27Use primary type node to resolve virtual data member classBoris Kolpackov1-1/+1
2013-05-27Fix option querying bugBoris Kolpackov1-1/+1
2013-05-27Handle inverse member in base class of polymorphic hierarchyBoris Kolpackov2-49/+97
2013-05-27Pass --sysroot/-isysroot when extracting profile search pathsBoris Kolpackov1-1/+14
2013-05-27Search in outer directories for default options fileBoris Kolpackov1-3/+23
2013-02-21Bump version to 2.2.12.2.1Boris Kolpackov1-2/+2
2013-02-19Remove unnecessary header inclusionBoris Kolpackov1-1/+0
This was causing problems in libintl.h with newer versions of GCC that are built with --disable-nls.
2013-02-12Work around odd GCC tree behavior2.2.0Boris Kolpackov2-6/+4
2013-02-11Provide default mapping for wchar_t and wchar_t[N] for SQLiteBoris Kolpackov1-1/+3
2013-02-10Suppress some warningsBoris Kolpackov3-0/+4
2013-02-10Use nul instead of /dev/null on WindowsBoris Kolpackov1-1/+8
2013-02-10Include std::string into ODB translation unitBoris Kolpackov1-0/+7
Use use it for the implicit discriminator member.
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