aboutsummaryrefslogtreecommitdiff
path: root/odb
AgeCommit message (Collapse)AuthorFilesLines
2014-08-29Pass non-const image to clone_image(), copy_image()Boris Kolpackov2-4/+8
This is necessary since some databases need to steal stuff from the original image (e.g., LOB descriptors in Oracle).
2014-08-21Use different suffix for composite values in query columnsBoris Kolpackov1-5/+9
This avoids potential name clash between the class name and its members (both of which, before this fix, had the _type_ suffix).
2014-08-18Diagnose index definition on inverse memberBoris Kolpackov1-1/+9
2014-08-06Make sure persistent class templates are fully instantiatedBoris Kolpackov1-6/+17
2014-08-01Bump version to 2.4.0.a3Boris Kolpackov1-4/+4
2014-08-01Add support for defining persistent objects as class template instantiationsBoris Kolpackov2-3/+4
2014-07-02Handle UTF-8 BOM in input fileBoris Kolpackov1-0/+22
2014-06-23Cut out pointer-to-id traversal so that we don't go into composite idsBoris Kolpackov3-0/+24
2014-06-09Fix error messageBoris Kolpackov1-1/+1
2014-05-06GCC 4.9.0 runtime compatibility fixesBoris Kolpackov1-5/+5
Whoever figures out why the old version no longer works in 4.9.0 gets a cookie.
2014-05-06More GCC 4.9.0 compatibility fixesBoris Kolpackov1-3/+3
2014-05-05Another fix for database option handlingBoris Kolpackov1-0/+1
2014-05-05GCC 4.9.0 compatibility fixesBoris Kolpackov6-34/+76
2014-05-02Fix misspelled optionBoris Kolpackov1-1/+1
2014-03-04Pass database we are compiling for to plugin explicitly as first argumentBoris Kolpackov1-5/+7
Rather than relying on it being specified in the command line which may not be the case -- the option could be specified in an options file.
2014-03-01Bump version to 2.4.0.a2Boris Kolpackov1-4/+4
2014-03-01Generate pro/epilogues outside pre/post.hxx includesBoris Kolpackov1-22/+22
2014-01-22Only generate inner export macro if we are explicitly instantiatingBoris Kolpackov2-18/+26
2014-01-17Handle query column exporting for composite value typesBoris Kolpackov4-51/+139
A composite value is represented in query_columns as a nested struct. Even though the query_columns template instantiation is exported, VC++ for some reason doesn't appear to also export the nested structs. To work around this, nested structs have to have the export macro in the declaration. But that's not it: we also have to declare the nested structs extern, just like the outer template instantiation itself.
2014-01-17Handle composite values when generating query tags (multi-database)Boris Kolpackov1-1/+1
2013-12-12Bump version to 2.4.0.a1Boris Kolpackov1-4/+4
2013-12-12Diagnose inverse mapsBoris Kolpackov1-0/+9
2013-12-04Fix bug in wrapped type resolutionBoris Kolpackov1-3/+34
2013-12-04Implement on_delete pragma for object pointersBoris Kolpackov8-6/+153
Translates to the ON DELETE SQL clause.
2013-10-21Initialize variable to suppress warning2.3.0Boris Kolpackov1-1/+1
2013-10-19Minor changesBoris Kolpackov1-3/+2
2013-10-19Bump version to 2.3.0Boris Kolpackov1-4/+4
2013-10-15Automatically map C++11 enum classes (strong enums)Boris Kolpackov14-119/+321
2013-10-15Pass --std option through to pluginBoris Kolpackov1-7/+0
2013-10-09Bump version to 2.3.0.b22.3.0.b2Boris Kolpackov1-4/+4
2013-09-28Rework migration API in schema_catalogBoris Kolpackov1-2/+14
Specifically: - Rename latest_version() to current_version(). - Change next_version() to return one past current instead of 0 if passed current. - migrate() will now do schema creation if current database version is 0 (no schema).
2013-09-28Make schema version access (but not modification) thread-safeBoris Kolpackov3-99/+105
Also cache the version in statements so that we don't have to lock the mutex (slow) every time we need to check the version.
2013-09-28Don't ignore empty changesetsBoris Kolpackov1-8/+6
This can be useful, for example, in data-only migrations.
2013-09-17Fix polymorphic section index overrun2.3.0.b1Boris Kolpackov1-8/+19
2013-09-17Bump version to 2.3.0.b1Boris Kolpackov1-4/+4
2013-09-17Add schema name to changelogBoris Kolpackov4-2/+20
2013-09-17Add support for defining composite values inside persistent classes, etcBoris Kolpackov11-120/+314
2013-09-16Implement summary soft-deletion for composite value typesBoris Kolpackov8-68/+279
2013-09-16Diagnose (potentially) empty UPDATE statements with ROWVERSIONBoris Kolpackov3-4/+63
2013-09-16Implement logical column drop for SQLiteBoris Kolpackov2-12/+102
2013-09-15In post-migration do things in reverse orderBoris Kolpackov1-62/+9
2013-09-15Improve diagnostics for hard-deleted containers and objectsBoris Kolpackov1-7/+25
2013-09-15Diagnose change of polymorphic base, table kindBoris Kolpackov4-16/+58
2013-09-15Cleanup polymorphic base tables when dropping derived oneBoris Kolpackov9-19/+196
2013-09-15Use base object instead of root for polymorphic id refsBoris Kolpackov1-11/+18
In particular, this means that the primary key will point to the base table, not root table and we can figure out the inheritance chain based on tables by traversing their foreign keys.
2013-09-15Check version dependencies for polymorphic basesBoris Kolpackov1-4/+8
2013-09-13Validate version dependenciesBoris Kolpackov1-0/+164
2013-09-12Add options to warn about hard additions and deletionsBoris Kolpackov4-43/+209
2013-09-12Make sure that soft-add/delete version is current versionBoris Kolpackov4-28/+202
2013-09-10Schema versioning support for rest of databaseBoris Kolpackov5-44/+165