aboutsummaryrefslogtreecommitdiff
path: root/common/makefile
AgeCommit message (Collapse)AuthorFilesLines
2014-11-25Implement bulk database operation support for Oracle and SQL ServerBoris Kolpackov1-1/+2
2014-11-10Implement {query,execute}_{one,value}() shortcut functionsMichael Shepanski1-0/+1
Useful in situations where the query is know to return at most one element (*_one) or exactly one element (*_value).
2014-08-01Add support for defining persistent objects as class template instantiationsBoris Kolpackov1-0/+1
2014-06-03Support for VC12 (2013), initial workBoris Kolpackov1-1/+4
2013-12-04Implement on_delete pragma for object pointersBoris Kolpackov1-2/+3
Translates to the ON DELETE SQL clause.
2013-09-17Add support for statement processingBoris Kolpackov1-0/+1
2013-08-14Add support for object sectionsBoris Kolpackov1-0/+2
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-07-08Add support for Visual Studio 2005Boris Kolpackov1-2/+4
2013-06-21Add support for running tests in dynamic multi-database modeBoris Kolpackov1-4/+10
Only possible in the development build system at this stage.
2013-04-10Generate add/drop table migration statementsBoris Kolpackov1-1/+1
2013-04-10Add changelog testBoris Kolpackov1-1/+4
2013-02-09Update copyright yearBoris Kolpackov1-1/+1
2013-02-08Add schema_catalog::exists() functionBoris Kolpackov1-0/+1
2013-02-07Use multi-pass table creation in MySQLBoris Kolpackov1-1/+2
This deals with table creation order and circular dependencies. Unfortunately, there doesn't seem to be a way in MySQL to drop a foreign key only if it exists without resorting to stored procedures.
2013-02-05Add support for change-tracking containersBoris Kolpackov1-42/+43
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-24Add support for mapping char[N] to CHAR/VARCHAR database typesBoris Kolpackov1-1/+2
Also improve query support for arrays (decaying).
2013-01-18Add support for post-commit/rollback callbacksBoris Kolpackov1-1/+2
New test: common/transaction/callback.
2013-01-16Implement two-phase session insertionBoris Kolpackov1-3/+12
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-16Rename common/session to common/session/cacheBoris Kolpackov1-1/+1
2012-10-19Initial support for prepared queriesBoris Kolpackov1-0/+1
2012-10-08Fix bug in transient inheritance handlingBoris Kolpackov1-38/+39
Also test that we can handle it for objects, composite values, and views.
2012-09-16Add support for Visual Studio 2012Boris Kolpackov1-1/+3
2012-08-31Add support for virtual data membersBoris Kolpackov1-0/+1
New test: common/virtual.
2012-08-15Add support for member accessors/modifiersBoris Kolpackov1-0/+1
New pragmas: get, set, access. New test: common/access.
2012-07-31Add support for changing location that ODB views as class definitionBoris Kolpackov1-0/+1
This is useful for making third-party/system types into ODB composite value types. New pragma: definition. New test: common/definition.
2012-07-25Add support for defining indexesBoris Kolpackov1-0/+1
New db pragma qualifier: index. New tests: common/index, mysql/index, pgsql/index.
2012-07-16Fix code generation for circularly-dependant classes in separate headersBoris Kolpackov1-0/+2
New tests: common/circular/{single,multiple}.
2012-04-23Polymorphic inheritance supportBoris Kolpackov1-0/+1
2012-03-06Add missing test to top-level makefileBoris Kolpackov1-0/+1
2012-02-22Add support for composite object idsBoris Kolpackov1-0/+1
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.
2011-11-21Exclude include test from distribution listBoris Kolpackov1-1/+1
2011-11-08Add common/transaction test (port from tracer)Boris Kolpackov1-0/+1
2011-11-08Get rid of special tracer databaseBoris Kolpackov1-0/+3
The include, types, and pragma tests have been moved to the common/ directory while the object test has been merged into common/lifecycle. The transaction test will be re-implemented as common/ test as soon as SQL statement tracing support is merged.
2011-11-03Add support for mapping char[N] and unsigned char[N] types to BLOBBoris Kolpackov1-0/+1
New test: common/blob.
2011-11-01Implement support for optimistic concurrencyBoris Kolpackov1-0/+1
New pragmas: optimistic, version. New test: optimistic. New database function: reload().
2011-10-27Add support for persistent classes without object idsBoris Kolpackov1-0/+1
New pragma id (object). New test: common/no-id.
2011-10-26Remove temporary makefile overrides for OracleConstantin Michael1-16/+0
2011-10-21Rename common/const test to common/const-objectBoris Kolpackov1-1/+1
2011-10-21Add support for const data membersBoris Kolpackov1-0/+2
Const data members are automatically treated as readonly. New test: const-member.
2011-10-21Add support for readonly membersBoris Kolpackov1-0/+2
New pragma: readonly. New test: readonly.
2011-10-21Improve temporary makefile layoutConstantin Michael1-24/+28
2011-10-21Add common tests for OracleConstantin Michael1-15/+25
Due to the 30 character limit imposed by Oracle on identifiers, some of the common tests code and/or makefiles had to be modified.
2011-09-09Add test for queries involving object relationshipsBoris Kolpackov1-19/+20
2011-09-05Support for views; native partBoris Kolpackov1-0/+1
2011-08-22Add database::erase_query() functionBoris Kolpackov1-0/+1
New test: common/erase-query. Documentation is in Section 3.9, "Deleting Persistent Objects". The current implementation does not work well with the session (no removal of the erased objects from the cache).
2011-08-04Add support for value wrappersBoris Kolpackov1-1/+2
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-22Add pragma for setting type's or member's default valueBoris Kolpackov1-0/+1
New pragma: default. New test: default.
2011-07-04Implement support for database operations callbacksBoris Kolpackov1-0/+1
New object pragma: callback. New test: common/callback. New manual section: 10.1.4, "callback".