aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)AuthorFilesLines
2013-12-12Fix invalid paths in makefilesBoris Kolpackov3-15/+15
2013-12-04Implement on_delete pragma for object pointersBoris Kolpackov13-12/+270
Translates to the ON DELETE SQL clause.
2013-10-24Don't use auto id for BLOB testBoris Kolpackov2-4/+4
This causes problems with SQL Server 2005.
2013-10-15Remove unused typedefBoris Kolpackov1-2/+0
2013-10-15Automatically map C++11 enum classes (strong enums)Boris Kolpackov2-3/+45
2013-09-28Don't ignore empty changesetsBoris Kolpackov45-0/+90
This can be useful, for example, in data-only migrations.
2013-09-17Add support for defining composite values inside persistent classes, etcBoris Kolpackov4-0/+149
2013-09-17Diagnose change of polymorphic base, table kindBoris Kolpackov96-137/+137
2013-09-17Cleanup polymorphic base tables when dropping derived oneBoris Kolpackov20-20/+20
2013-09-17Provide quoted versions of view statementBoris Kolpackov1-6/+14
2013-09-17Versioned section supportBoris Kolpackov1-10/+0
2013-09-17Handling of dynamic empty statements as result of versioningBoris Kolpackov2-2/+17
2013-09-17Fix UPDATE statement for smart containers with read-only value membersBoris Kolpackov2-0/+61
Here we have to include them (think what happens when we erase an element somewhere in the middle of a container).
2013-09-17Add support for statement processingBoris Kolpackov4-0/+699
2013-08-14Add support for object sectionsBoris Kolpackov9-0/+4779
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-08-14Get rid of warningBoris Kolpackov1-20/+19
2013-07-08Fix incorrect ODB_MSC_VER version in VC11 projectsBoris Kolpackov1-1/+1
2013-07-08Add support for Visual Studio 2005Boris Kolpackov48-92/+556
2013-06-21Add support for running tests in dynamic multi-database modeBoris Kolpackov63-877/+797
Only possible in the development build system at this stage.
2013-06-13Handle --database option directly in automake and VC++ projectsBoris Kolpackov51-132/+166
2013-06-03Use database name in options and driver files (build part)Boris Kolpackov47-47/+47
This way we will be able to have several databases configured at the same time, which is needed for multi-database support testing.
2013-04-26Add support for extra database info in primary keyBoris Kolpackov18-18/+18
Use that to handle Oracle sequence name and SQLite lax auto ids.
2013-04-26Add support for table options in changelog, use to handle MySQL engineBoris Kolpackov19-31/+31
2013-04-26Use open, closed names in version pragmaBoris Kolpackov10-10/+10
2013-04-26Add database name to changelogBoris Kolpackov95-95/+95
2013-04-10Generate add/drop foreign key migration statementsBoris Kolpackov36-36/+36
Also add the --fkeys-deferrable-mode option. General schemas generation rework.
2013-04-10Generate add/drop table migration statementsBoris Kolpackov2-3/+4
2013-04-10Add changelog support for add/drop index/foreign keyBoris Kolpackov46-7/+971
Also diagnose changes to primary keys and establish the 'alters' association.
2013-04-10Add changelog support for add, drop, and later columnBoris Kolpackov34-1/+481
2013-04-10Add changelog testBoris Kolpackov40-1/+1233
2013-04-01Handle inverse member in base class of polymorphic hierarchyBoris Kolpackov3-1/+183
2013-02-21Add support for pattern matching (SQL LIKE)Boris Kolpackov2-0/+42
2013-02-12Don't use uninitialized iterator on the rhs of assignment2.2.0Boris Kolpackov1-0/+11
2013-02-12Disable non-const to const iterator comparison test for Sun CC's STLPortBoris Kolpackov1-1/+4
2013-02-12Use consistent types in object and viewBoris Kolpackov1-1/+1
2013-02-12Workarounds for non-standard Sun CC STLBoris Kolpackov1-2/+13
2013-02-12Disable constraint checking in MySQLBoris Kolpackov1-3/+9
This test can either create tables or drop them in the "wrong" order, depending on the static initialization order. For MySQL we can create things but not drop (no IF EXISTS or similar support).
2013-02-11Add extra source to distBoris Kolpackov1-0/+1
2013-02-11Account for C++11 compilers without default function template argumentsBoris Kolpackov1-0/+9
2013-02-09Update copyright yearBoris Kolpackov170-170/+170
2013-02-09Shorten table prefix for OracleBoris Kolpackov3-3/+3
2013-02-08Add schema_catalog::exists() functionBoris Kolpackov6-1/+201
2013-02-08Add callback_ prefix to transaction callback functionsBoris Kolpackov3-10/+30
Also test callback_update().
2013-02-08Test change-tracking container and reuse inheritanceBoris Kolpackov2-3/+63
2013-02-08Misc fixesBoris Kolpackov2-6/+6
2013-02-07Use multi-pass table creation in MySQLBoris Kolpackov10-11/+233
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-06Fix incorrect dist variableBoris Kolpackov1-1/+1
2013-02-05Add support for change-tracking containersBoris Kolpackov9-52/+943
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-25By default map std::array<char, N> to string instead of binaryBoris Kolpackov1-7/+2
2013-01-24Add support for mapping char[N] to CHAR/VARCHAR database typesBoris Kolpackov9-11/+375
Also improve query support for arrays (decaying).