aboutsummaryrefslogtreecommitdiff
path: root/odb
AgeCommit message (Collapse)AuthorFilesLines
2015-01-26Make #pragma once workBoris Kolpackov2-4/+83
2015-01-23Diagnose lack of default constructor in pointed-to objectsBoris Kolpackov2-2/+28
Lack of the default constructor will lead to uncompilable generated code.
2015-01-23Handle SQL name limits in MySQL and SQL ServerBoris Kolpackov2-1/+25
2015-01-23Handle name truncation in PostgreSQLBoris Kolpackov6-18/+130
2015-01-22Add support for warning about SQL name truncations in OracleBoris Kolpackov6-12/+192
Also detect and issue diagnostics when such truncations lead to name conflicts.
2015-01-21Fix bug in alias-declaration handlingBoris Kolpackov1-2/+1
Apparently for alias-declaration (but not ordinary typedef) we need to check for template info on the main variant.
2014-12-17Bump version to 2.4.0.a5Boris Kolpackov1-4/+4
2014-12-15Fix bug in id-based custom view join of polymorphic objectsBoris Kolpackov2-14/+22
See email from Mikhail.Tomilov@infotecs.ru/12-Dec-2014.
2014-12-10Add commentsBoris Kolpackov1-5/+5
2014-11-26Implement optimistic concurrency support in bulk operationsBoris Kolpackov5-41/+218
Bulk update and SQL Server ROWVERSION not yet supported.
2014-11-26Reimplement image copying for OracleBoris Kolpackov1-1/+1
Now we no longer "steal" descriptors (destructive copy). Instead, for LOBs, we clone the locator using OCILobAssign(). For date-time types we extract the data during copying. As a result of this change we no longer need to track image changes and rebind the statements.
2014-11-25Implement bulk database operation support for Oracle and SQL ServerBoris Kolpackov18-12/+709
2014-11-19Bump version to 2.4.0.a4Boris Kolpackov1-4/+4
2014-11-19Allow empty runtime and execute viewsBoris Kolpackov4-57/+74
Use them to handle INSERT/UPDATE SQL Server stored procedures.
2014-10-27Use expansion point rather than macro location in GCC 4.7.0 and laterBoris Kolpackov5-8/+25
2014-09-19Avoid clashes between nested composites in query columnsBoris Kolpackov2-6/+47
2014-09-19Fix bug in query types exporting codeBoris Kolpackov1-1/+1
2014-09-06Fix bug in view query assembly for stored procedure callBoris Kolpackov1-1/+1
2014-09-05Use scope of name used in pragma for template instantiationsBoris Kolpackov4-8/+23
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).