aboutsummaryrefslogtreecommitdiff
path: root/odb
AgeCommit message (Collapse)AuthorFilesLines
2012-07-27Handle special case of array of zero elementsBoris Kolpackov1-1/+2
2012-07-25Simplify auto id implementation in OracleBoris Kolpackov1-6/+8
Specifically, instead of using a trigger to assign the next id from the sequence, get the next value directly in the INSERT statement.
2012-07-17Get rid of warning2.1.0.a1Boris Kolpackov1-1/+1
2012-07-17Bump version to 2.1.0.a1Boris Kolpackov1-3/+3
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-48/+146
New pragma qualifier, map, and specifiers: as, to, from. New tests: <database>/custom.
2012-06-18Bump version to 2.0.12.0.1Boris Kolpackov1-2/+2
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-04-29Bump version to 2.0.02.0.0Boris Kolpackov1-3/+3
2012-04-29Make transaction_impl sanity check optional, use assertBoris Kolpackov1-1/+3
2012-04-29Fix a few bugsBoris Kolpackov2-3/+3
2012-04-28GCC 4.7 compatibility fixesBoris Kolpackov1-2/+2
2012-04-26Replace remaining std::auto_ptr uses with odb::details::unique_ptrBoris Kolpackov1-5/+3
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 Kolpackov25-575/+1637
2012-03-07Use RAII to free select statement resultsBoris Kolpackov4-3/+31
2012-03-02Bump version to 1.9.0.a1Boris Kolpackov1-3/+3
2012-03-02Reimplement C++11 support to be header-onlyBoris Kolpackov2-9/+5
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-13/+21
2012-03-01Include C-headers before C++Boris Kolpackov6-12/+12
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-29Bump version to 1.8.01.8.0Boris Kolpackov1-3/+3
2012-01-29Update copyright yearBoris Kolpackov64-64/+64
2012-01-29Remove author field from file headerBoris Kolpackov64-65/+1
Too much effort to maintain.
2012-01-26Implement support for database schemaBoris Kolpackov1-4/+2
New pragma qualifier: namespace. New pragma specifier: schema. The table specifier was extended to accept a schema prefix. New option: --default- schema. The common/schema test was extended to cover the new functionality.
2012-01-22Allocate precise size buffer for string/nstring/raw query paramBoris Kolpackov1-32/+63
2012-01-22Pass precision and scale to Oracle query_paramBoris Kolpackov2-24/+99
2012-01-22Fix invalid max size for RAW query parameterBoris Kolpackov1-2/+2
2012-01-12Implement callback data re-basing support for LOB result streamingBoris Kolpackov4-17/+82
This is used by the query machinery when a copy of the image has to be made. In this case stream_result() needs to use data from the copy of the image, and not from the image that was bound to the bind array.
2012-01-12Use typedef name instead of qualifying in multiple placesBoris Kolpackov4-6/+12
2012-01-12Cosmetic changesBoris Kolpackov4-3/+18
2012-01-12Remove unneeded #includeBoris Kolpackov1-1/+0
2012-01-12Add missing #includeBoris Kolpackov1-0/+2
2011-12-22Truncate excess data instead of asserting, make small functions inlineBoris Kolpackov2-94/+51
2011-12-22Rename *_chunk to chunk_* enumerators in Oracle for consistencyBoris Kolpackov4-29/+29
2011-12-21Do not select object id in container SELECT statementBoris Kolpackov2-14/+22
2011-12-21Cosmetic changesBoris Kolpackov1-3/+0
2011-12-06Use extern "C" for OCI callbacks to avoid warnings (Sun CC)Boris Kolpackov1-31/+32
2011-12-06Remove stray commas1.7.0Boris Kolpackov2-2/+2
2011-12-05Bump version to 1.7.0Boris Kolpackov1-3/+3
2011-12-01Correct license informationBoris Kolpackov1-1/+1
2011-12-01Remove comments that don't apply anymoreBoris Kolpackov1-5/+0
2011-11-30Make exception text more descriptiveBoris Kolpackov1-1/+1
2011-11-30Optimize checking for connection statusBoris Kolpackov1-31/+38
2011-11-30Cosmetic changesBoris Kolpackov2-31/+37
2011-11-30Translate ORA-2049 as a timeout error and ORA-3113 as a connection lost errorConstantin Michael1-1/+3
2011-11-30Provide separate overload of translate_error for oracle::connectionConstantin Michael4-33/+46
2011-11-30Use sb4 as error code type instead of int in database_exceptionConstantin Michael2-9/+9
2011-11-30Improve the Oracle translate_error implementationConstantin Michael9-69/+261
The improved implementation scans all the records associated with an error handle. Furthermore, if it is established that the connection to the database has been lost, the connection is marked as such. Additionally, all special exceptions (deadlock, timeout, and connection_lost) are now supported.
2011-11-30Merge LOB callback function and context into structBoris Kolpackov2-27/+27
This allows us to have one less member in the bind struct.