aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-05-24Update copyright yearKaren Arutyunov713-713/+713
2017-11-15Work around PostgreSQL transaction poisoning in schema version queryBoris Kolpackov1-2/+16
Note that this only works in 9.4+. For older versions the workaround is to "pre-call" database::schema_version() outside of any transaction.
2017-08-08Bump version to 2.5.0-b.6.z, master is open for businessBoris Kolpackov1-1/+1
2017-08-07Bump version to 2.5.0-b.52.5.0-b.5Boris Kolpackov1-1/+1
2017-05-24Bump version to 2.5.0-b.4.z, master is open for businessBoris Kolpackov1-1/+1
2017-05-23Bump version to 2.5.0-b.32.5.0-b.3Boris Kolpackov1-1/+1
2017-05-05Bump version to 2.5.0-b.2.z, master is open for businessBoris Kolpackov1-1/+1
2017-04-28Bump version to 2.5.0.b.1.z, switch to build2 version module2.5.0-b.1Boris Kolpackov1-1/+1
2017-01-03Update copyright yearBoris Kolpackov713-713/+713
2016-12-15Extend object loading view and section interaction testBoris Kolpackov1-0/+5
2016-11-27Update Qt import stubBoris Kolpackov2-9/+30
2016-10-26Implement support for mixed auto/manual id assignment in SQLiteBoris Kolpackov5-0/+218
Now one can do: #pragma db id auto odb::nullable<int64_t> id; And then set the id to NULL to get auto-assignment or to the actual value to use a manual id.
2016-09-08Bump version to 2.5.0-a11Boris Kolpackov1-1/+1
2016-08-22Bump version to 2.5.0-a102.5.0-a10Boris Kolpackov1-1/+1
2016-08-18Detect container of containers via composite value2.5.0-a9Boris Kolpackov1-0/+69
2016-08-15Lock object statements when loading sectionsBoris Kolpackov2-0/+97
Since we use the id image and loading of object pointers can overwrite it.
2016-08-14Bump version to 2.5.0-a9Boris Kolpackov1-1/+1
Note that we now use the -[ab]N schema rather than .[ab]N.
2016-06-15Bump version to 2.5.0.a8Boris Kolpackov1-1/+1
2016-06-15Get rid of C++11 deprecation warnings for auto_ptr, exception specsBoris Kolpackov20-32/+278
In particular, std::auto_ptr is no longer mapped in C++11.
2016-05-06Bump version to 2.5.0.a7Boris Kolpackov1-1/+1
2016-05-04Ignore section logic when dealing with container elementsBoris Kolpackov2-0/+60
The container member itself can be in a section.
2016-04-06Bump version to 2.5.0.a6Boris Kolpackov1-1/+1
2016-04-04Add _has_cache() custom session interface, use in OLV implementationBoris Kolpackov1-0/+3
2016-02-12Bump version to 2.5.0.a5Boris Kolpackov1-1/+1
2016-01-20Bump version to 2.5.0.a4Boris Kolpackov1-1/+1
2015-11-09Bump version to 2.5.0.a2Boris Kolpackov1-1/+1
2015-10-29Fix UUID char[16] query_type aliasBoris Kolpackov2-2/+69
Instead of pre-decaying it to const char*, let the normal decay do it for us. This fixes a compilation issue when used with dynamic multi- database support.
2015-07-27Bump version to 2.5.0.a1Boris Kolpackov1-1/+1
2015-07-27Fix member name conflicts in query supportBoris Kolpackov1-0/+34
2015-07-27Make threads test more deadlock resilientBoris Kolpackov1-38/+56
2015-07-17Handle empty query::in_range() caseBoris Kolpackov1-0/+6
2015-07-15Implement SQLite incremental BLOB/TEXT I/OBoris Kolpackov7-3/+431
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.