aboutsummaryrefslogtreecommitdiff
path: root/common/makefile
AgeCommit message (Collapse)AuthorFilesLines
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".
2011-04-22Initial support for non-polymorphic inheritanceBoris Kolpackov1-0/+1
Every class gets a separate table. New test: common/inheritance.
2011-04-18Implement automatic mapping for C++ enumsBoris Kolpackov1-0/+1
2011-02-25Add support for tests in subdirectoriesBoris Kolpackov1-1/+1
2011-01-04Copyright updateBoris Kolpackov1-1/+1
2010-12-09Add lazy pointer supportBoris Kolpackov1-0/+1
Built-in support is provided for raw, auto, and tr1 shared/weak pointers. New test: common/lazy-ptr.
2010-11-22Test one-to-{one,many} inverse relationshipsBoris Kolpackov1-0/+1
2010-11-22Test const object operationsBoris Kolpackov1-0/+1
2010-11-17Add support for unidirectional object relationshipsBoris Kolpackov1-3/+4
New test: common/relationship.
2010-11-06Add a test for container persistenceBoris Kolpackov1-0/+1
2010-10-27Implement support for composite value typesBoris Kolpackov1-0/+1
New test: common/composite.
2010-10-07Add support for persistent classes without default ctorsBoris Kolpackov1-0/+1
New test: common/ctor.
2010-09-10Add automated build and test scripts for WindowsBoris Kolpackov1-1/+2
2010-09-08Add suppor for VC++ buildBoris Kolpackov1-1/+10