aboutsummaryrefslogtreecommitdiff
path: root/schema
AgeCommit message (Collapse)AuthorFilesLines
2012-09-16Add support for Visual Studio 2012Boris Kolpackov2-2/+6
2012-09-10Describe commands necessary to manually compile and link each exampleBoris Kolpackov2-0/+16
2012-09-06Issue error if DATABASE_* macros is not definedBoris Kolpackov2-0/+4
2012-04-26Make session optionalBoris Kolpackov2-8/+9
2012-03-08Print usage/version information to STDOUT instead of STDERRBoris Kolpackov2-12/+12
2012-03-05Add support for generating schema creation code into separate C++ fileBoris Kolpackov1-1/+5
2012-03-01Resolve tr1/std::shared_ptr ambiguitiesBoris Kolpackov1-0/+2
2012-02-24C++11 support (pass --std ODB compiler option in build makefiles)Boris Kolpackov2-0/+10
2012-01-29Update copyright yearBoris Kolpackov2-2/+2
2012-01-29Remove author field from file headerBoris Kolpackov8-8/+0
Too much effort to maintain.
2012-01-16Add SQL Server supportBoris Kolpackov3-9/+21
2011-11-18Revert to using an unsigned type for the custom schema example employee IDConstantin Michael1-1/+1
2011-11-18Use default client character sets for Oracle examplesConstantin Michael2-2/+2
2011-11-17Add examples for OracleConstantin Michael4-2/+75
2011-09-20Change query syntax to use . for composite and -> for object pointer accessBoris Kolpackov1-1/+1
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-08-22Enable foreign key constraints checking in SQLiteBoris Kolpackov1-1/+18
Due to bugs in SQLite DDL foreign key support, we have to temporarily disable foreign keys when re-creating the schema. New manual section: 12.5.3, "Foreign Key Constraints".
2011-08-22Add --table-prefix optionBoris Kolpackov1-1/+1
Assign unique table prefixes to most examples. This makes sure that we don't end up with broken schemas where half of the tables were changed by the next test and the other half has foreign keys that now point to nowhere.
2011-07-19New design for NULL semanticsBoris Kolpackov1-5/+5
Now, instead of being specified as part of the SQL type with the type pragma, there are separate null and not_null pragmas. The not_null pragma was used to control NULL-ness of object pointers. Now the two pragmas are used consistently for object pointers and simple values (and in the future will work for composite values and containers).
2011-07-14Remove erroneous SQLite schema creation from schema exampleConstantin Michael2-18/+2
2011-07-13Add PostgreSQLConstantin Michael3-2/+64
2011-03-25SQLite supportBoris Kolpackov2-2/+30
2011-03-21Factor out database macro setupBoris Kolpackov2-10/+2
2011-03-21Fix issues with build outside source directoryBoris Kolpackov2-4/+4
2011-03-01Add support for embedded database schemasBoris Kolpackov5-0/+371
New options: --schema-format, --default-schema. New example: schema/embedded.
2011-02-25Add support for examples in subdirectoriesBoris Kolpackov5-10/+9
Move the schema example to schema/custom.
2011-02-18Add odb::core namespace to be used in using-directivesBoris Kolpackov2-4/+4
Port all the examples and tests.
2011-01-19Add schema exampleBoris Kolpackov5-0/+488
It shows how to map persistent classes to a custom database schema.