Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-08-22 | Add database::erase_query() function | Boris Kolpackov | 5 | -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). | |||||
2011-08-22 | Enable foreign key constraints checking in SQLite | Boris Kolpackov | 1 | -3/+12 | |
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-19 | Rework query machinery not to use '_' as primary table alias | Boris Kolpackov | 1 | -1/+1 | |
Now we always qualify with the actual table name and use the '_' alias for situations where an object is referencing itself. | |||||
2011-08-18 | Fix custom recursive loading in post_load callback | Boris Kolpackov | 3 | -6/+50 | |
Before we called the callback while holding the statements locked. As a result, if the callback tried to load another object of this type, it failed. Now we unlock the statements (since we have completely loaded the object from ODB's point of view) and then call the callback. The callback test has been updated to test this situation. | |||||
2011-08-04 | Add support for Qt QSharedPointer as value wrapper | Boris Kolpackov | 2 | -0/+48 | |
2011-08-04 | Add support for boost::optional and boost::shared_ptr as value wrappers | Boris Kolpackov | 7 | -2/+281 | |
New test: boost/common/optional. | |||||
2011-08-04 | Add support for value wrappers | Boris Kolpackov | 6 | -2/+237 | |
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-08-04 | Style changes | Boris Kolpackov | 1 | -2/+2 | |
2011-07-28 | Add value_traits specializations for std::vector<char> | Boris Kolpackov | 9 | -132/+22 | |
This allows using it as a buffer for BLOB mapping. | |||||
2011-07-27 | Bump version to 1.6.0 | Boris Kolpackov | 1 | -1/+1 | |
2011-07-25 | Export variable separately to be compatible with POSIX shell1.5.0 | Boris Kolpackov | 1 | -1/+2 | |
2011-07-25 | Add type qualifier to large integer literals | Boris Kolpackov | 1 | -2/+2 | |
2011-07-25 | Bump version to 1.5.0 | Boris Kolpackov | 1 | -1/+1 | |
2011-07-25 | Use initialization syntax instead of assignment | Boris Kolpackov | 1 | -1/+1 | |
2011-07-25 | Add missing pgsql value | Boris Kolpackov | 1 | -1/+1 | |
2011-07-25 | Correct spelling mistake in option name | Boris Kolpackov | 1 | -1/+1 | |
2011-07-24 | Correct invalid psql option from --user to --username | Constantin Michael | 2 | -3/+3 | |
2011-07-24 | Correct misspelt psql option from --post to --port | Constantin Michael | 1 | -1/+1 | |
2011-07-24 | Remove all references to NUMERIC | Constantin Michael | 2 | -6/+1 | |
2011-07-24 | Correct bug in calculation of varbit byte length | Constantin Michael | 1 | -1/+1 | |
2011-07-23 | Correct misquoted variable during driver generation | Constantin Michael | 1 | -1/+1 | |
2011-07-23 | Quieten psql notifications and warnings for dist build tests | Constantin Michael | 1 | -0/+3 | |
2011-07-23 | Add db.options and db-driver.bat files to dist | Constantin Michael | 1 | -1/+2 | |
2011-07-23 | Correct psql option from --database to --dbname | Constantin Michael | 2 | -3/+3 | |
2011-07-23 | Disable notifications and warnings in Windows psql | Constantin Michael | 1 | -0/+2 | |
2011-07-23 | Add pgsql to list of databases in bootstrap makefile | Constantin Michael | 1 | -1/+1 | |
2011-07-22 | Add mising database macro | Boris Kolpackov | 1 | -0/+1 | |
2011-07-22 | Add pragma for setting type's or member's default value | Boris Kolpackov | 5 | -0/+256 | |
New pragma: default. New test: default. | |||||
2011-07-22 | Test automatic and custom ENUM mappings | Boris Kolpackov | 2 | -5/+12 | |
2011-07-22 | Cosmetic changes | Boris Kolpackov | 1 | -1/+1 | |
2011-07-22 | Include messages regarding trusted test database user in automake messages | Constantin Michael | 3 | -2/+8 | |
2011-07-22 | Correct typo | Constantin Michael | 1 | -1/+1 | |
2011-07-22 | Correct the database identifier being used in pgsql test batch files | Constantin Michael | 2 | -2/+2 | |
2011-07-22 | Correct typo in file info header | Constantin Michael | 1 | -1/+1 | |
2011-07-22 | Correct linker options to import pgsql runtime | Constantin Michael | 2 | -8/+8 | |
2011-07-22 | Link PostgreSQL template Visual Studio solutions to libodb-pgsql runtime | Constantin Michael | 2 | -8/+8 | |
2011-07-22 | Add PostgreSQL driver and options for Windows | Constantin Michael | 2 | -0/+54 | |
2011-07-22 | Update INSTALL to include PostgreSQL | Constantin Michael | 1 | -0/+1 | |
2011-07-22 | Correct makefile ommissions | Constantin Michael | 2 | -2/+2 | |
2011-07-22 | MAke automake scripts PostgreSQL aware | Constantin Michael | 5 | -0/+297 | |
2011-07-21 | Enable Qt and Boost profile tests for PostgreSQL | Constantin Michael | 5 | -4/+16 | |
2011-07-21 | Add Qt profile tests for PostgreSQL | Constantin Michael | 21 | -0/+1404 | |
2011-07-21 | Add Boost profile tests for PostgreSQL | Constantin Michael | 17 | -0/+1257 | |
2011-07-19 | New design for NULL semantics | Boris Kolpackov | 10 | -78/+79 | |
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-18 | Qualify id with table alias to help SQLite out | Boris Kolpackov | 1 | -1/+1 | |
This hack should go away once we have language-integrated support for ORDER BY. | |||||
2011-07-14 | Aesthetic changes | Constantin Michael | 1 | -3/+5 | |
2011-07-14 | Aesthetic changes to PostgreSQL BIT test | Constantin Michael | 1 | -3/+11 | |
2011-07-14 | Test VARBIT bit length is handled correctly | Constantin Michael | 3 | -18/+78 | |
2011-07-14 | Templatize buffer to avoid duplicate code in unsigned buffer implementation | Constantin Michael | 1 | -26/+43 | |
2011-07-14 | Do not output empty PostgreSQL client configuration options | Constantin Michael | 1 | -7/+12 | |