aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-10-26Add Oracle traits implementation for query testConstantin Michael2-0/+62
2011-10-26Quote schema object identifiers for Oracle where necessaryConstantin Michael6-28/+161
Oracle converts all alphabetical characters in unquoted schema object identifiers to uppercase. This behaviour cannot be disabled.
2011-10-26Get rid of common_ prefix in query testBoris Kolpackov1-1/+1
2011-10-24Enable ON DELETE CASCADE-based checks for MySQLBoris Kolpackov1-6/+0
Now that we generate proper foreign keys for containers.
2011-10-24Add t_ prefix to all the common tests that conflict with examplesBoris Kolpackov8-20/+20
2011-10-21Add test_ prefix to view test since it conflicts with view exampleBoris Kolpackov3-15/+15
2011-10-21Shorten table prefixesBoris Kolpackov2-2/+2
2011-10-21Rename common/const test to common/const-objectBoris Kolpackov5-5/+5
2011-10-21Add support for const data membersBoris Kolpackov7-13/+451
Const data members are automatically treated as readonly. New test: const-member.
2011-10-21Add support for readonly membersBoris Kolpackov5-0/+504
New pragma: readonly. New test: readonly.
2011-10-21Add extra explanations for certain Oracle parametersBoris Kolpackov1-5/+15
Also default to the odb_user password if the user is odb_user. This seems to be a common idiom since Oracle doesn't support no-password logins.
2011-10-21Use @ to specify SQL file to Oracle SQLPlusConstantin Michael1-1/+1
SQLPlus scripted commands, such as SET FEEDBACK OFF, are not recognized when OS redirection is employed.
2011-10-21Remove common_ from all table_prefix arguments in common testsConstantin Michael34-63/+52
2011-10-21Improve temporary makefile layoutConstantin Michael1-24/+28
2011-10-21Add 64 bit integer tests to Oracle types testConstantin Michael2-32/+68
2011-10-21Add common tests for OracleConstantin Michael11-32/+52
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-10-21Add character set conversion tests to Oracle types testConstantin Michael2-10/+103
2011-10-21Correct create_database implementation for OracleConstantin Michael2-11/+4
2011-10-21Add Oracle types testConstantin Michael6-1/+414
2011-10-21Add Oracle create_database code allowing for specification of character setsConstantin Michael2-1/+11
2011-10-21Add -S option when invoking SQLPlus to suppress some outputConstantin Michael1-0/+2
2011-10-21Add infrastructure for oracle development testing and implement native testConstantin Michael21-3/+666
2011-10-19Mention autotools as prerequisite in INSTALL-GITBoris Kolpackov1-3/+9
2011-10-03Don't add -framework OS X option to CPPFLAGS1.6.01.6Boris Kolpackov1-4/+0
It is only necessary in LDFLAGS and adding it to CPPFLAGS causes warnings.
2011-10-03Bump version to 1.6.0Boris Kolpackov1-1/+1
2011-10-02Handle object pointers when comparing view and object data member typesBoris Kolpackov2-5/+37
Also issues an error if an object member associated with a view member is transient or inverse.
2011-10-02If query substituting placeholder is empty, pass true expression insteadBoris Kolpackov2-3/+3
This allows uniform usage of views both with and without any extra conditions. Also optimize some common cases so that we don't have useless WHERE TRUE clauses or (...) AND (TRUE) expressions.
2011-09-27Fix invalid configure option nameBoris Kolpackov1-1/+1
2011-09-27Add support for associating tables with viewsBoris Kolpackov2-7/+63
2011-09-22Make sure NDEBUG is not definedBoris Kolpackov1-0/+6
2011-09-22Remove NDEBUG macro from VC project; tests always need enabled assert()1.6.0.a2Boris Kolpackov28-56/+56
2011-09-21Use int instead of size_t for NULL-able valueBoris Kolpackov1-2/+2
In case of nullable<size_t> the ODB compiler is unable to determine that the wrapped type is size_t. This results in 64-bit integer being stored and 32-bit being loaded. This interacts badly with PG for some reason.
2011-09-21Rework const object handlingBoris Kolpackov2-14/+12
Now objects are always loaded as non-const and the object cache in session treats all objects as non-const.
2011-09-21Add prefix to table nameBoris Kolpackov1-1/+2
2011-09-20Bump version to 1.6.0.a2Boris Kolpackov1-1/+1
2011-09-20Change query syntax to use . for composite and -> for object pointer accessBoris Kolpackov8-20/+45
Also make non-inverse query columns act as both an object pointer and a normal column. The latter allows us to use natural expressions such as query<employee>::employer.is_null ().
2011-09-16Support for views; integrated partBoris Kolpackov2-65/+723
2011-09-09Add test for queries involving object relationshipsBoris Kolpackov5-19/+444
2011-09-09New templated query_columns architectureBoris Kolpackov1-1/+2
We also now use the correct separate "role"-base join approach instead of having a single merged join for each table.
2011-09-09Vary members order to improve coverageBoris Kolpackov1-5/+5
In particular, the test now catches a bug in PG type oid generation.
2011-09-06Correct view testBoris Kolpackov1-1/+0
2011-09-05Support for views; native partBoris Kolpackov5-0/+409
2011-08-28Add wrapper support for containersBoris Kolpackov2-7/+62
2011-08-28Add wrapper support for composite valuesBoris Kolpackov2-2/+111
NULL semantics for composite values is not yet supported.
2011-08-26Add support for specifying client character set for MySQL databaseBoris Kolpackov1-1/+1
2011-08-25Add experimental code (commented out) for DELETE JOIN supportBoris Kolpackov2-2/+52
This would be needed to support object relationships in the erase_query() functionality.
2011-08-24Make tests use unique table prefixesBoris Kolpackov55-77/+115
2011-08-24Add support for transaction multiplexingBoris Kolpackov2-0/+8
Also delay getting a connection until after we do all the sanity checks (e.g., that there is no active transaction). Otherwise we are running risk of getting blocked rather than throwing an exception.
2011-08-22Bump version to 1.6.0.a11.6.0.a1Boris Kolpackov1-1/+1
2011-08-22Add database::erase_query() functionBoris Kolpackov5-0/+258
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).