aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-07-03Implement nested id supportBoris Kolpackov13-24/+627
Now the 'id' specifier can optionally include the data member path to the id inside the composite value. For example: #pragma db id(first) std::pair<int, int> p; Note that one somewhat counter-intuitive aspect of this new feature is that the whole member marked with id ('p' in the above example) and not just the actual id member ('p.first' in the above example) is treated as readonly. Such nested id also cannot be automatically assigned (auto specifier).
2015-07-03Test custom id column name propagation to polymorphic-ref'sBoris Kolpackov1-1/+1
2015-07-03Disable on_delete test for MySQLBoris Kolpackov1-1/+5
2015-07-02Test custom C++ type mapping for id, version membersBoris Kolpackov2-1/+200
2015-07-02C++ type mapping support for container elementsasBoris Kolpackov2-22/+84
2015-07-01C++ type mapping support for data membersBoris Kolpackov5-0/+476
2015-06-16Implement support for nested members in inverse pragmaBoris Kolpackov2-0/+178
2015-06-15Support for inverse on points_toBoris Kolpackov2-0/+158
2015-02-11Add explicit template argument to lazy_ptr::object_id() call2.4.0Boris Kolpackov1-4/+8
VC++11 does not support default function template arguments.
2015-02-11Correct stored procedure nameBoris Kolpackov1-1/+1
2015-02-11Fix name qualificationBoris Kolpackov1-1/+1
2015-02-08Fix incorrect vector indexesBoris Kolpackov1-6/+6
2015-02-08More ODB_DATABASE_*/DATABASE_* macro fixesBoris Kolpackov1-1/+1
2015-02-08Clean test templates of old cruftBoris Kolpackov36-72/+0
Most tests don't print anything
2015-02-08Add _SCL_SECURE_NO_WARNINGS to VC12 projects for Boost testsBoris Kolpackov6-24/+24
There doesn't seem to be any other way since this is now an error, not a warning.
2015-02-08Use ODB_DATABASE_* macros in headers compiled by ODBBoris Kolpackov2-8/+6
On Windows DATABASE_* macros are defined by the project, not via a header.
2015-02-08Fix incorrect id typeBoris Kolpackov1-1/+1
2015-02-08Recode strcpy as memcpyBoris Kolpackov2-5/+6
VC12 deprecated those hard, as in, it is now an error.
2015-02-08Add move constructors that VC12 doesn't provide implicitlyBoris Kolpackov3-0/+44
2015-02-08Split view/olv test into multiple headers filesBoris Kolpackov12-692/+816
VC++ complains that the object file is too large.
2015-02-08Recode strncpy as memcpyBoris Kolpackov6-23/+24
VC12 deprecated those hard, as in, it is now an error.
2015-02-08Add missing VC12 solution to extra_distBoris Kolpackov1-1/+2
2015-02-07Make anal clang happyBoris Kolpackov1-1/+6
2015-02-07Disable parts of test for multi-database caseBoris Kolpackov2-4/+8
Since not all the databases support them (JOIN types).
2015-02-07Bump version to 2.4.0Boris Kolpackov1-1/+1
2015-02-07Fix to use traditional const styleBoris Kolpackov9-30/+30
2015-02-06Update copyrightBoris Kolpackov690-690/+690
2015-02-06Add support for persisting std::dequeBoris Kolpackov2-0/+26
2015-02-06Implement join types support in viewsBoris Kolpackov2-0/+248
2015-02-05Implement result modifiers in view query conditionBoris Kolpackov2-0/+47
2015-02-04Implement object loading viewsBoris Kolpackov10-49/+1463
See section 10.2 in the manual for details.
2015-01-27Bump version to 2.4.0.a6Boris Kolpackov1-1/+1
2015-01-26Remove unnecessary variable, parameter listBoris Kolpackov2-2/+1
2014-12-17Fix list of .std files in dist targetBoris Kolpackov1-1/+1
2014-12-17Bump version to 2.4.0.a5Boris Kolpackov1-1/+1
2014-12-17Add support for database-specific output in testsBoris Kolpackov10-15/+264
Use that for the bulk test.
2014-12-15Fix bug in id-based custom view join of polymorphic objectsBoris Kolpackov2-0/+25
See email from Mikhail.Tomilov@infotecs.ru/12-Dec-2014.
2014-11-26Implement optimistic concurrency support in bulk operationsBoris Kolpackov3-1/+245
Bulk update and SQL Server ROWVERSION not yet supported.
2014-11-26Reimplement image copying for OracleBoris Kolpackov2-21/+78
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 Kolpackov9-12/+1640
2014-11-19Bump version to 2.4.0.a4Boris Kolpackov1-1/+1
2014-11-19Allow empty runtime and execute viewsBoris Kolpackov3-35/+99
Use them to handle INSERT/UPDATE SQL Server stored procedures.
2014-11-18Add SQL Server stored procedure testBoris Kolpackov5-0/+359
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-10-16Add support for Qt5 in build systemMichael Shepanski1-0/+6
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