aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)AuthorFilesLines
2014-11-20Add testBoris Kolpackov5-0/+1390
2014-11-17Update PostgreSQLBoris Kolpackov1-1/+1
2014-11-14Old interface compatibility and testing fixesBoris Kolpackov2-1/+15
Now all tests pass for both Oracle and SQL Server.
2014-11-10Implement {query,execute}_{one,value}() shortcut functionsMichael Shepanski8-2/+411
Useful in situations where the query is know to return at most one element (*_one) or exactly one element (*_value).
2014-10-30Allow lambdas & std::functions as query factories with C++-98 builds of libodbMichael Shepanski1-3/+43
2014-10-23Get rid of command for target that has nothing to buildBoris Kolpackov1-1/+1
This makes a difference in make output. Without the command we get "Nothing to be done..." (which is what we want) while with the command we get no diagnostics.
2014-09-19Avoid clashes between nested composites in query columnsBoris Kolpackov1-0/+29
2014-08-29Pass non-const image to clone_image(), copy_image()Boris Kolpackov3-1/+98
This is necessary since some databases need to steal stuff from the original image (e.g., LOB descriptors in Oracle).
2014-08-06Make sure persistent class templates are fully instantiatedBoris Kolpackov1-0/+5
2014-08-01Add support for defining persistent objects as class template instantiationsBoris Kolpackov6-1/+251
2014-06-23Fix typo in commentBoris Kolpackov1-1/+1
2014-06-15Use single template set of templates for .sln filesBoris Kolpackov5-77/+0
2014-06-03Support for VC12 (2013), initial workBoris Kolpackov54-51/+442
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).