aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-02-06Fix incorrect AC_LANG_SOURCE quotingBoris Kolpackov3-9/+9
Thanks to Hugo Mildenberger <Hugo.Mildenberger@web.de> for the patch.
2013-02-05Add support for change-tracking containersBoris Kolpackov6-142/+260
ODB now supports "smart" ordered containers. Such containers get extra functions for updating and deleting individual elements. Based on this functionality implement two change-tracking containers: odb::vector (equivalent to std::vector) and QOdbList (equivalent to QList). New tests: common/container/change-tracking and qt/common/container/change- tracking.
2013-01-25By default map std::array<char, N> to string instead of binaryBoris Kolpackov1-6/+20
2013-01-24Add support for mapping char[N] to CHAR/VARCHAR database typesBoris Kolpackov6-248/+1171
Also improve query support for arrays (decaying).
2013-01-17Add database id constant (useful for meta-programming)Boris Kolpackov1-0/+5
2013-01-16Make session cache management functions static, add notificationsBoris Kolpackov2-2/+2
2013-01-16Implement two-phase session insertionBoris Kolpackov2-7/+5
On the first step an uninitialized object is inserted into the cache as before (this is necessary to handle recursive loading). The second step is to notify the session that the object has been initialized. On this second step the session can perform change tracking preparations, such as make a copy of the object or reset the modification flag. New test: common/session/custom (implements a custom session that uses copies to track changes).
2013-01-15Bump version to 2.2.0.a3Boris Kolpackov2-4/+4
2013-01-15Check that max connections is greater or equal than min in connection poolBoris Kolpackov1-1/+4
2013-01-15Add support for setting SQL Server transaction isolation levelBoris Kolpackov4-0/+83
2013-01-14Add support for MSSQL ROWVERSIONBoris Kolpackov7-29/+188
ODB can now use ROWVERSION column as an optimistic concurrency version.
2013-01-13Implement set_image() for id_rowversionBoris Kolpackov1-2/+17
2012-12-12Bump version to 2.2.0.a22.2.0.a2Boris Kolpackov2-4/+4
2012-12-03Add support for executing common query using static interfaceBoris Kolpackov4-17/+69
2012-11-29Namespace management for static multi-database supportBoris Kolpackov5-5/+33
Now in libodb the odb::core namespace is split into odb::common (database- independent stuff) and odb::core proper, which imports odb::common. Each database runtime now defines odb::<db>::core namespace which also imports odb::common and adds the database-specific bits. The overall idea is that one can do using namespace odb::<db>::core just like for odb::core.
2012-11-21Add dynamic multi-database query supportBoris Kolpackov9-47/+328
2012-10-29Don't use boolean as identifier2.2.0.a1Boris Kolpackov2-19/+20
Some headers/systems defined it as a macro.
2012-10-29Bump version to 2.2.0.a1Boris Kolpackov2-4/+4
2012-10-15Implement early connection releaseBoris Kolpackov13-33/+107
2012-10-12Completion of prepared query supportBoris Kolpackov13-39/+191
2012-10-08Ground work for multi-database supportBoris Kolpackov23-257/+894
All generated code now includes database id. The database-specific database class interface has been updated to include all the database operations. The database-specific tests now use this interface.
2012-10-05Bump version to 2.1.12.1.12.1Boris Kolpackov2-3/+3
2012-10-05Fix bug in short national char data queryingBoris Kolpackov1-2/+2
2012-09-17Fix incorrect license information2.1.0Boris Kolpackov1-1/+1
2012-09-16Add support for Visual Studio 2012Boris Kolpackov5-2/+229
2012-09-14Indicate value cannot be NULL when initializing query parameter imageBoris Kolpackov1-44/+44
2012-09-14Bump version to 2.1.0Boris Kolpackov2-4/+4
2012-09-11Add support for mapping std::array to BLOB and char[16] to UUID typesBoris Kolpackov2-32/+268
2012-08-15Fix typo in commentBoris Kolpackov1-1/+1
2012-07-27Bump version to 2.1.0.a22.1.0.a2Boris Kolpackov2-4/+4
2012-07-25Cosmetic changesBoris Kolpackov1-1/+1
2012-07-17Get rid of warning2.1.0.a1Boris Kolpackov1-1/+1
2012-07-17Bump version to 2.1.0.a1Boris Kolpackov2-4/+4
2012-07-16Simplify query inheritance hierarchyBoris Kolpackov1-8/+9
This should also allow Sun CC handle queries for objects with circular dependencies.
2012-07-10Add support for custom database type mappingBoris Kolpackov5-43/+138
New pragma qualifier, map, and specifiers: as, to, from. New tests: <database>/custom.
2012-06-18Bump version to 2.0.12.0.1Boris Kolpackov2-3/+3
2012-06-18Allocate container traits lazily and only when their definition is seenBoris Kolpackov4-6/+58
This fixes a problem with polymorphic hierarchies spread over multiple files in which case the source code for the derived class does not have the definition of the container traits for the base class. See the comment in the source code for further details.
2012-05-04Add -D_REENTRANT when building on Linux to emulate -pthreadBoris Kolpackov1-1/+3
2012-04-29Bump version to 2.0.02.0.0Boris Kolpackov2-4/+4
2012-04-29Make transaction_impl sanity check optional, use assertBoris Kolpackov1-1/+3
2012-04-26Replace remaining std::auto_ptr uses with odb::details::unique_ptrBoris Kolpackov1-5/+2
GCC in C++11 mode issues a deprecation warning for std::auto_ptr.
2012-04-26Make session optionalBoris Kolpackov3-10/+8
2012-04-23Polymorphic inheritance supportBoris Kolpackov23-563/+1600
2012-03-07Use RAII to free select statement resultsBoris Kolpackov5-36/+73
2012-03-02Bump version to 1.9.0.a1Boris Kolpackov2-4/+4
2012-03-02Reimplement C++11 support to be header-onlyBoris Kolpackov2-7/+3
This way, the same build of the runtime libraries can be used in both C++98 and C++11 modes. This is important for when runtimes are installed or packaged.
2012-03-01Add support for using C++11 std::unique_ptr to pass connection factoryBoris Kolpackov2-21/+29
2012-02-22Add support for composite object idsBoris Kolpackov3-4/+4
New pragma id_type (member). New test: common/composite-id. The composite example has also been updated.
2012-01-30Suppress warning1.8.0Boris Kolpackov1-1/+1
2012-01-29Bump version to 1.8.0Boris Kolpackov2-4/+4