aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-04-28Bump version to 2.5.0.b.1.z, switch to build2 version module2.5.0-b.1Boris Kolpackov2-5/+5
2017-04-06Map string keys to MySQL VARCHAR(128) instead of 255 to support 4-byte UTF-8Boris Kolpackov3-23/+23
This is a backwards-incompatible change in that it may change your schema. To obtain the old behavior you will have to explicitly re-map std::string with the id_type pragma or explicitly specify the database type for each affected id member with the type pragma.
2017-04-05Add ability to mark unloaded section as loadedBoris Kolpackov1-5/+11
Can be useful to skip loading state that is going to be overwritten.
2017-03-27Implement support for mixed auto/0 id assignment in MySQLBoris Kolpackov1-1/+12
Now one can do: odb::nullable<int64_t> id; And then, when used with NO_AUTO_VALUE_ON_ZERO, set the id to NULL to get auto-assignment or to 0 to use 0 as the id.
2017-01-05Add note on multiple polymorphism inheritance not being supportedBoris Kolpackov1-1/+3
2017-01-03Update copyright yearBoris Kolpackov240-242/+242
2016-12-28Fix GCC 6 issue with PRAGMA_DB macroBoris Kolpackov3-28/+40
In GCC 6 we use the position of the macro expansion, not the position inside the macro itself. This means that multiple pragmas inside PRAGMA_DB will all have the same position which we were not handling properly.
2016-12-23Fix bug in GCC 6 input_location translationBoris Kolpackov1-0/+8
2016-12-05Fix incomplete 2.5.0-a11 version updateBoris Kolpackov1-1/+1
2016-11-27Fix bug in handling section members that require growthBoris Kolpackov9-28/+51
2016-10-26Implement support for mixed auto/manual id assignment in SQLiteBoris Kolpackov3-4/+16
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-15Fix typo in manualBoris Kolpackov1-1/+1
2016-09-08Bump version to 2.5.0-a11Boris Kolpackov2-4/+4
2016-08-22Bump version to 2.5.0-a102.5.0-a10Boris Kolpackov2-5/+5
2016-08-19Fix uninitialized variable warning2.5.0-a9Boris Kolpackov1-1/+1
2016-08-18Detect container of containers via composite valueBoris Kolpackov1-0/+47
2016-08-15Lock object statements when loading sectionsBoris Kolpackov1-31/+59
Since we use the id image and loading of object pointers can overwrite it.
2016-08-14Bump version to 2.5.0-a9Boris Kolpackov2-5/+5
Note that we now use the -[ab]N schema rather than .[ab]N.
2016-08-08Add note on need to recognize database-specific list of statement prefixesBoris Kolpackov1-0/+5
2016-06-15Bump version to 2.5.0.a8Boris Kolpackov2-5/+5
2016-06-15Get rid of C++11 deprecation warnings for auto_ptr, exception specsBoris Kolpackov1-0/+4
In particular, std::auto_ptr is no longer mapped in C++11.
2016-05-13Clarify lazy_ptr usage in manualBoris Kolpackov1-1/+8
2016-05-11Fix typo in manualBoris Kolpackov1-1/+1
2016-05-06Bump version to 2.5.0.a7Boris Kolpackov2-5/+5
2016-05-04Ignore section logic when dealing with container elementsBoris Kolpackov3-3/+15
The container member itself can be in a section.
2016-05-04Fix bug in previous fix (include object statements for OLV)Boris Kolpackov1-6/+9
2016-05-02Make sure object statements included for object loading viewsBoris Kolpackov1-1/+9
2016-04-06Bump version to 2.5.0.a6Boris Kolpackov2-5/+5
2016-04-04Add _has_cache() custom session interface, use in OLV implementationBoris Kolpackov2-3/+9
2016-03-30Assert that statements are not already locked in top-level callsBoris Kolpackov2-0/+3
This can be violated with crafty callbacks.
2016-03-30Diagnose container value/index/key types that are not instantiatedBoris Kolpackov1-58/+65
2016-03-24Clarify that static data members are not stored in databaseBoris Kolpackov1-1/+2
2016-03-10Update NEWS fileBoris Kolpackov1-0/+38
2016-02-23Clarify that only pointer-returning load()/find() cacheBoris Kolpackov1-2/+3
2016-02-12Bump version to 2.5.0.a5Boris Kolpackov2-5/+5
2016-02-08Make compilable with GCC 6 in C++14 modeBoris Kolpackov2-3/+8
2016-02-05Initial work to make ODB compatible with GCC 6Boris Kolpackov7-19/+90
2016-02-04Add support for multiple values in *-file options, add final newlineBoris Kolpackov2-16/+39
2016-02-04Document MySQL DECIMAL mappingBoris Kolpackov1-0/+18
2016-01-22Fix typos in manualBoris Kolpackov1-2/+2
2016-01-20Bump version to 2.5.0.a4Boris Kolpackov2-5/+5
2016-01-20Fix typoBoris Kolpackov1-1/+1
2016-01-18Quote some values since cli no longer quotes \c in plain textBoris Kolpackov1-5/+5
2015-11-30Don't try to depend on installed cli executableBoris Kolpackov1-0/+5
2015-11-09Bump version to 2.5.0.a2Boris Kolpackov2-5/+5
2015-11-05Update HTML style to work with new CLIBoris Kolpackov1-11/+4
Specifically, now each option class gets its own <dl> so use margin instead of padding to make it look like one continuous list.
2015-10-27Recognize /*CALL*/ hint in SELECT statements that call stored proceduresBoris Kolpackov1-0/+15
2015-10-14Fix bug in section's grow() generationBoris Kolpackov1-0/+3
2015-10-07Add support for using object pointers as map keysBoris Kolpackov3-34/+50
Also remove the restriction for map keys and set values to be NOT NULL. Not clear why it was there in the first place and it could be useful if the key or value is an object pointer.
2015-09-24Add missing generated FKs in documentationBoris Kolpackov1-3/+3