aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-01-16Implement two-phase session insertionBoris Kolpackov6-8/+48
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-16Add support for using custom session implementationsBoris Kolpackov4-26/+26
New option, --session-type.
2013-01-16Add support for low-level access to object cacheBoris Kolpackov1-8/+16
2013-01-16Cleanup object cache position typeBoris Kolpackov4-16/+30
2013-01-15Bump version to 2.2.0.a3Boris Kolpackov2-5/+5
2013-01-09Work around "changes meaning" error in older GCCBoris Kolpackov1-4/+4
2012-12-12Bump version to 2.2.0.a22.2.0.a2Boris Kolpackov2-5/+5
2012-12-12Don't use 0 to initialize std::functionBoris Kolpackov1-1/+3
This doesn't work on VC++ 11.
2012-12-10Fix incorrect return statementBoris Kolpackov2-4/+4
2012-11-29Namespace management for static multi-database supportBoris Kolpackov9-14/+36
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-28Add support for DLL exporting of generated codeBoris Kolpackov1-10/+1
New options: --export-symbol, --extern-symbol.
2012-11-21Add dynamic multi-database query supportBoris Kolpackov12-35/+1328
2012-11-02Rework query alias tag systemBoris Kolpackov1-5/+4
Now each object pointer or view-associated object with alias gets its own unique tag.
2012-10-31Add dynamic multi-database support excluding queryBoris Kolpackov2-2/+37
2012-10-29Add workaround for VC++2.2.0.a1Boris Kolpackov5-5/+6
2012-10-29Bump version to 2.2.0.a1Boris Kolpackov2-5/+5
2012-10-29Add static multi-database support for lazy pointersBoris Kolpackov7-242/+334
A lazy pointer must load the object using the static database interface with which it was initialized.
2012-10-25Static multi-database supportBoris Kolpackov1-1/+0
Add new options (--multi-database, --default-database). Generate common code to -odb.?xx files and database-specific to -odb-<db>.?xx.
2012-10-19Implement early connection releaseBoris Kolpackov16-94/+269
2012-10-19Completion of prepared query supportBoris Kolpackov13-24/+574
2012-10-19Update prepared statement code for multi-database supportBoris Kolpackov1-1/+2
2012-10-19Initial support for prepared queriesBoris Kolpackov17-53/+162
2012-10-08Ground work for multi-database supportBoris Kolpackov12-212/+398
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-09-17Remove unused local typedefs (GCC 4.8 warning)2.1.0Boris Kolpackov1-2/+0
2012-09-16Add support for Visual Studio 2012Boris Kolpackov5-2/+229
2012-09-14Bump version to 2.1.0Boris Kolpackov2-5/+5
2012-07-27Bump version to 2.1.0.a22.1.0.a2Boris Kolpackov2-5/+5
2012-07-17Bump version to 2.1.0.a12.1.0.a1Boris Kolpackov2-5/+5
2012-07-16Simplify query inheritance hierarchyBoris Kolpackov1-2/+2
This should also allow Sun CC handle queries for objects with circular dependencies.
2012-07-03Add template qualifiers that are missing according to Clang 3.1Boris Kolpackov6-18/+32
2012-06-18Add argument to session ctor that indicates whether to make it currentBoris Kolpackov2-8/+11
2012-06-18Remove unnecessary checks for current transactionBoris Kolpackov2-5/+3
2012-06-18Bump version to 2.0.12.0.1Boris Kolpackov2-3/+3
2012-06-18Add workaround for VC++ lookup bugBoris Kolpackov1-1/+1
2012-05-04Add -D_REENTRANT when building on Linux to emulate -pthreadBoris Kolpackov1-1/+3
2012-04-30Add empty source file to facilitate VC++ symbol exporting2.0.0Boris Kolpackov2-0/+12
2012-04-30VC++ workaroundsBoris Kolpackov2-3/+9
2012-04-29Bump version to 2.0.0Boris Kolpackov2-5/+5
2012-04-29Rework unique pointer conversion (Clang warning)Boris Kolpackov1-21/+19
2012-04-29Add missing #includeBoris Kolpackov1-0/+2
2012-04-26Replace remaining std::auto_ptr uses with odb::details::unique_ptrBoris Kolpackov4-14/+8
GCC in C++11 mode issues a deprecation warning for std::auto_ptr.
2012-04-26Add database::reset()Boris Kolpackov3-22/+35
2012-04-26Make session optionalBoris Kolpackov5-184/+210
2012-04-23Polymorphic inheritance supportBoris Kolpackov25-751/+1725
2012-03-06Detect situations where session is required but not usedBoris Kolpackov2-0/+13
Throw session_required.
2012-03-02Bump version to 1.9.0.a1Boris Kolpackov2-5/+5
2012-03-02Reimplement C++11 support to be header-onlyBoris Kolpackov7-57/+85
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-02Portability workarounds for incomplete C++11 support in VC++ and old GCCBoris Kolpackov8-28/+133
2012-03-01Add support for using C++11 std::unique_ptr to pass connection factoryBoris Kolpackov1-0/+54
2012-02-29Use move instead of copy in container traits if C++11 is availableBoris Kolpackov2-0/+20