aboutsummaryrefslogtreecommitdiff
path: root/common/view/test.hxx
AgeCommit message (Collapse)AuthorFilesLines
2011-11-03Use ODB_DATABASE_XXX macros instead DATABASE_XXX in ODB-compiled headers1.7.0.a1Boris Kolpackov1-11/+9
DATABASE_XXX macros are not defined when building from VC++ project.
2011-11-01Fix bug in view column parsingBoris Kolpackov1-13/+1
2011-10-26Quote schema object identifiers for Oracle where necessaryConstantin Michael1-17/+82
Oracle converts all alphabetical characters in unquoted schema object identifiers to uppercase. This behaviour cannot be disabled.
2011-10-24Add t_ prefix to all the common tests that conflict with examplesBoris Kolpackov1-13/+13
2011-10-21Add test_ prefix to view test since it conflicts with view exampleBoris Kolpackov1-13/+13
2011-10-21Remove common_ from all table_prefix arguments in common testsConstantin Michael1-13/+13
2011-10-02Handle object pointers when comparing view and object data member typesBoris Kolpackov1-5/+14
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 Kolpackov1-2/+2
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-27Add support for associating tables with viewsBoris Kolpackov1-0/+32
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-20Change query syntax to use . for composite and -> for object pointer accessBoris Kolpackov1-1/+3
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 Kolpackov1-29/+310
2011-09-06Correct view testBoris Kolpackov1-1/+0
2011-09-05Support for views; native partBoris Kolpackov1-0/+114