aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)AuthorFilesLines
2015-07-15Implement SQLite incremental BLOB/TEXT I/OBoris Kolpackov1-3/+3
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-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 Kolpackov2-4/+0
Most tests don't print anything
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 Kolpackov1-1/+2
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 Kolpackov1-4/+5
VC12 deprecated those hard, as in, it is now an error.
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-07Fix to use traditional const styleBoris Kolpackov9-30/+30
2015-02-06Update copyrightBoris Kolpackov205-205/+205
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.
2014-12-17Fix list of .std files in dist targetBoris Kolpackov1-1/+1
2014-12-17Add support for database-specific output in testsBoris Kolpackov7-3/+229
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-25Implement bulk database operation support for Oracle and SQL ServerBoris Kolpackov7-3/+1571
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