summaryrefslogtreecommitdiff
path: root/odb/relational/oracle/source.cxx
AgeCommit message (Collapse)AuthorFilesLines
2024-01-24Turn odb repository into muti-package repositoryKaren Arutyunov1-646/+0
Also remove the autoconf/make-based build system.
2020-02-13Drop copyright notice from source codeKaren Arutyunov1-1/+0
2019-01-16Update copyright yearKaren Arutyunov1-1/+1
2018-05-24Update copyright yearKaren Arutyunov1-1/+1
2017-01-03Update copyright yearBoris Kolpackov1-1/+1
2015-07-15Implement SQLite incremental BLOB/TEXT I/OBoris Kolpackov1-5/+11
2015-07-03Implement nested id supportBoris Kolpackov1-3/+3
Now the 'id' specifier can optionally include the data member path to the id inside the composite value. For example: #pragma db id(first) std::pair<int, int> p; Note that one somewhat counter-intuitive aspect of this new feature is that the whole member marked with id ('p' in the above example) and not just the actual id member ('p.first' in the above example) is treated as readonly. Such nested id also cannot be automatically assigned (auto specifier).
2015-02-06Update copyrightBoris Kolpackov1-1/+1
2015-02-05Implement result modifiers in view query conditionBoris Kolpackov1-0/+15
2015-02-04Implement object loading viewsBoris Kolpackov1-2/+2
See section 10.2 in the manual for details.
2014-11-26Reimplement image copying for OracleBoris Kolpackov1-1/+1
Now we no longer "steal" descriptors (destructive copy). Instead, for LOBs, we clone the locator using OCILobAssign(). For date-time types we extract the data during copying. As a result of this change we no longer need to track image changes and rebind the statements.
2013-08-30Statement processing/optimization base workBoris Kolpackov1-14/+13
2013-08-14Add support for object sectionsBoris Kolpackov1-0/+12
Sections are an optimization mechanism that allows the partitioning of data members of a persistent class into groups that can be separately loaded and/or updated.
2013-02-09Update copyright yearBoris Kolpackov1-1/+1
2013-02-05Add support for change-tracking containersBoris Kolpackov1-1/+1
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.
2012-12-12Add support for SQL name transformationsBoris Kolpackov1-5/+6
2012-08-15Add support for member accessors/modifiersBoris Kolpackov1-0/+39
New pragmas: get, set, access. New test: common/access.
2012-07-25Simplify auto id implementation in OracleBoris Kolpackov1-9/+9
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-10Add support for custom database type mappingBoris Kolpackov1-1/+1
New pragma qualifier, map, and specifiers: as, to, from. New tests: <database>/custom.
2012-04-25Fix auto id handling in polymorphic objectsBoris Kolpackov1-1/+4
2012-04-23Polymorphic inheritance supportBoris Kolpackov1-126/+28
2012-02-22Add support for composite object idsBoris Kolpackov1-319/+37
New pragma id_type (member). New test: common/composite-id. The composite example has also been updated.
2012-01-29Update copyright yearBoris Kolpackov1-1/+1
2012-01-29Remove author field from file headerBoris Kolpackov1-1/+0
Too much effort to maintain.
2012-01-20ODB compiler implementation, traits, and types test for SQL ServerBoris Kolpackov1-1/+6
2012-01-20Various Oracle cleanups and cosmetic changesBoris Kolpackov1-2/+2
2012-01-08Add support for defining composite value type as class template instantiationsBoris Kolpackov1-2/+2
2011-11-30Merge LOB callback function and context into structBoris Kolpackov1-5/+4
This allows us to have one less member in the bind struct.
2011-11-29Cosmetic changesBoris Kolpackov1-1/+1
2011-11-16Allocate position context in oracle::lob struct instead of in Oracle LOB imageConstantin Michael1-5/+2
2011-11-15Refactor LOB descriptor, callback context, and temporary buffer handlingConstantin Michael1-15/+3
Due to image sharing amongst container statements, LOB binding placeholders cannot be shared between parameter and result versions of a bind.
2011-11-15Add call to select_statement::stream_data for container types in OracleConstantin Michael1-0/+7
2011-11-10Add missing spaces after commas in generated codeBoris Kolpackov1-3/+3
2011-11-10Set LOB parameter capacity in runtime instead of in generated codeConstantin Michael1-5/+0
2011-11-09Make sure we can use same type as both container and simple valueBoris Kolpackov1-3/+3
2011-11-08Pass LOB capacity using bind::capacity member instead of deriving at run-timeConstantin Michael1-4/+13
2011-11-08Add support for Oracle INTERVAL temporal typesConstantin Michael1-13/+59
2011-11-01Implement support for optimistic concurrencyBoris Kolpackov1-3/+9
New pragmas: optimistic, version. New test: optimistic. New database function: reload().
2011-11-01Generate an image inline function that will return its change_callback memberConstantin Michael1-2/+2
libodb-oracle references the change_callback member of an image even when code is generated without query support. In order to avoid invalid references, the change_callback member is accessed via a getter method that is always generated.
2011-11-01Do not generate image version or change_callback members for abstract objectsConstantin Michael1-2/+3
2011-11-01Implement query image change callback machineryConstantin Michael1-0/+8
2011-10-27Add support for persistent classes without object idsBoris Kolpackov1-1/+1
New pragma id (object). New test: common/no-id.
2011-10-26Disable result caching in OracleConstantin Michael1-0/+14
2011-10-21Add support for const data membersBoris Kolpackov1-8/+19
Const data members are automatically treated as readonly. New test: const-member.
2011-10-21Add support for readonly membersBoris Kolpackov1-12/+53
New pragma: readonly. New test: readonly.
2011-10-21Split 'in' binding into insert/update pair; rename 'out' to selectBoris Kolpackov1-7/+48
Also add the initial infrastructure for the readonly members support. Right now the split insert/update bindings allows us to avoid sending object id in UPDATE statements. It will also allows us to support readonly members.
2011-10-21Refactor persist statement hookConstantin Michael1-17/+3
2011-10-21Aesthetic changes and small bug fixesConstantin Michael1-1/+1
2011-10-21Add persist_stmt hook to handle generation of persist statement SQLConstantin Michael1-0/+29
ODB requires that Oracle persist statements include a RETURNING clause so that a generated auto_id column value may be returned.
2011-10-21Disable auto_id initialization hook for OracleConstantin Michael1-2/+1
This is not necessary and is more complex than originally thought due to the possibility of auto_id columns having a char* image type.