aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-08-22Bump version to 1.6.0.a11.6.0.a1Boris Kolpackov2-4/+4
2011-08-22Remove stray function declarationsBoris Kolpackov1-6/+0
2011-08-22Add support for constructing delete_statement with native binding onlyBoris Kolpackov2-3/+24
This is similar to what we do in select_statement.
2011-08-21Add odb::connection classBoris Kolpackov10-67/+116
This abstract class represents a connection to the database. One can use it to start a transaction or to execute a native statement out of a transaction. Before we had concrete connection classes in the database runtime libraries (e.g., odb::mysql::connection). Now these classes derive from odb::connection.
2011-08-19Rework query machinery not to use '_' as primary table aliasBoris Kolpackov3-118/+152
Now we always qualify with the actual table name and use the '_' alias for situations where an object is referencing itself.
2011-08-18Fix custom recursive loading in post_load callbackBoris Kolpackov4-3/+45
Before we called the callback while holding the statements locked. As a result, if the callback tried to load another object of this type, it failed. Now we unlock the statements (since we have completely loaded the object from ODB's point of view) and then call the callback. The callback test has been updated to test this situation.
2011-08-04Merge branch 'wrapper'Boris Kolpackov1-1/+227
2011-08-04Add support for value wrappersBoris Kolpackov1-1/+227
Wrapper is a class that wraps another type. Examples of wrappers are various smart pointers, holders, etc. A wrapper can be transparent or it can handle the NULL semantics. The new odb::nullable class template is a NULL wrapper that helps to add the NULL semantics to a value type. New test: common/wrapper.
2011-07-31Minor optimizationBoris Kolpackov1-1/+1
2011-07-28Add value_traits specializations for std::vector<char>Boris Kolpackov2-0/+52
This allows using it as a buffer for BLOB mapping.
2011-07-27Bump version to 1.6.0Boris Kolpackov2-4/+4
2011-07-25Suppress warnings1.5.0Boris Kolpackov1-5/+5
2011-07-25Suppress warningsBoris Kolpackov2-8/+8
2011-07-25Update INSTALL fileBoris Kolpackov1-7/+7
2011-07-25Remove @@ notes that no longer applyBoris Kolpackov1-2/+0
2011-07-25Bump version to 1.5.0Boris Kolpackov2-4/+4
2011-07-25Avoid unnecessary initializationBoris Kolpackov1-1/+1
2011-07-24Always initialize format and size values in native_bindConstantin Michael1-1/+3
2011-07-23Export endian_traitsConstantin Michael1-1/+3
2011-07-23Do not include config.h for Visual StudioConstantin Michael1-1/+2
2011-07-23Correct libpq library name specified to Visual Studio linkerConstantin Michael2-16/+16
2011-07-22Get rid of libpq-fe.h inclusion in public headersBoris Kolpackov9-25/+77
The problem with libpq-fe.h is that it is installed in unpredictable places on different platforms. As a result, a user that uses ODB with PostgreSQL (and who doesn't really know or care about libpq) is forced to make sure their application is able to find and include libpq-fe.h correctly. Luckily for us, we only use a handful of libpq pointers in public headers and the workaround is to forward declare them and use that instead of including libpq-fe.h (which is instead included in source files).
2011-07-22Fix type name shadowingBoris Kolpackov1-16/+18
2011-07-22Correct typo in Visual Studio linker optionsConstantin Michael1-1/+1
2011-07-22Specify libpq as a dependency to Visual StudioConstantin Michael2-8/+8
2011-07-21Quote prepared statement name in deallocation commandConstantin Michael1-1/+2
2011-07-19Fix incorrect argument names, make accessor order consistentBoris Kolpackov1-12/+12
2011-07-14Map unsigned short and int C++ types to SMALLINT and INTEGER by defaultConstantin Michael1-2/+2
2011-07-14Forbid connection to database if server integer_datetimes is offConstantin Michael2-10/+5
2011-07-14Add support for binary format NUMERIC typeConstantin Michael2-108/+105
2011-07-13Make process notification callback staticConstantin Michael1-5/+2
2011-07-13Add support for DATE, TIME and TIMESTAMP SQL typesConstantin Michael4-101/+145
2011-07-13Get integer_datetimes server var on connection to serverConstantin Michael2-1/+15
2011-07-12Suppress server notification messagesConstantin Michael1-0/+10
2011-07-12Remove no longer applicable commentConstantin Michael1-3/+0
2011-07-11Free deallocate query resultBoris Kolpackov1-1/+2
2011-07-11Free prepared statement cache before closing connectionBoris Kolpackov1-0/+4
2011-07-05Support for callbacks in PG runtimeBoris Kolpackov3-8/+48
2011-07-05Only bind native binding structure when references are presentConstantin Michael1-4/+10
2011-07-05Aesthetic changesConstantin Michael3-10/+9
2011-07-05Implement PostgreSQL specific queryConstantin Michael2-70/+107
2011-07-05Use fine grained fetch control provided by select_statementConstantin Michael2-10/+4
2011-07-05Implement PostgreSQL specific fetch operations for select_statementConstantin Michael2-33/+89
2011-07-04Update makefileConstantin Michael1-1/+2
2011-07-04Correct traits byte-order conversionConstantin Michael1-1/+1
2011-07-04Add missing image buffer type cases to bind_result implementationConstantin Michael1-1/+12
2011-07-04Add query and result implementationConstantin Michael6-0/+2293
2011-07-04Add additional functionality required by query implementationConstantin Michael2-4/+34
2011-06-29Use container traits column counts to specifiy container statment countsConstantin Michael2-7/+7
2011-06-27Add a nop specialization for converting byte order of a single byteConstantin Michael1-0/+10