Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-10-29 | Cast odb::database to concrete type when initializing object pointer | Boris Kolpackov | 1 | -2/+4 | |
2012-10-19 | Completion of prepared query support | Boris Kolpackov | 1 | -8/+12 | |
2012-10-19 | Initial support for prepared queries | Boris Kolpackov | 1 | -12/+12 | |
2012-10-08 | Ground work for multi-database support | Boris Kolpackov | 1 | -27/+53 | |
All generated code now includes database id. The database-specific database class interface has been updated to include all the database operations. The database-specific tests now use this interface. | |||||
2012-09-14 | Use assignment instead of construction syntax to help VC++ | Boris Kolpackov | 1 | -8/+14 | |
2012-09-12 | Implement --output-name, --generate-schema-only, and --at-once options | Boris Kolpackov | 1 | -1/+1 | |
2012-09-04 | NULL handling improvements | Boris Kolpackov | 1 | -1/+5 | |
Add support for specifying NULL-ness for types with built-in mapping. Handle Oracle [N]VARCHAR2 and SQLite FLOAT oddities using this mechanism instead of overriding it at the schema generation level. Also use the is_null argument that is passed to value_traits::init_image() to indicate whether the value can be NULL. | |||||
2012-08-31 | Add support for virtual data members | Boris Kolpackov | 1 | -1/+1 | |
New test: common/virtual. | |||||
2012-08-16 | Add support for automatically discovering accessor/modifier functions | Boris Kolpackov | 1 | -21/+26 | |
New options: --{accessor,modifier}-regex, --{accessor,modifier}-regex-trace. | |||||
2012-08-15 | Add support for member accessors/modifiers | Boris Kolpackov | 1 | -96/+283 | |
New pragmas: get, set, access. New test: common/access. | |||||
2012-08-01 | Add support for empty column names in composite value types | Boris Kolpackov | 1 | -19/+21 | |
2012-07-25 | Simplify auto id implementation in Oracle | Boris Kolpackov | 1 | -22/+31 | |
Specifically, instead of using a trigger to assign the next id from the sequence, get the next value directly in the INSERT statement. | |||||
2012-07-10 | Add support for custom database type mapping | Boris Kolpackov | 1 | -21/+30 | |
New pragma qualifier, map, and specifiers: as, to, from. New tests: <database>/custom. | |||||
2012-04-27 | Don't generate grow code for databases that don't need it | Boris Kolpackov | 1 | -13/+28 | |
2012-04-27 | Support for NULL value semantics for composite values | Boris Kolpackov | 1 | -16/+45 | |
2012-04-27 | Add support for NULL pointers to objects with composite object ids | Boris Kolpackov | 1 | -22/+19 | |
2012-04-26 | Make session optional | Boris Kolpackov | 1 | -2/+0 | |
2012-04-23 | Polymorphic inheritance support | Boris Kolpackov | 1 | -2080/+480 | |
2012-03-07 | Use RAII to free select statement results | Boris Kolpackov | 1 | -48/+58 | |
2012-03-06 | Detect situations where session is required but not used | Boris Kolpackov | 1 | -0/+18 | |
Throw session_required. | |||||
2012-03-05 | Add support for generating schema creation code into separate C++ file | Boris Kolpackov | 1 | -220/+4 | |
2012-02-27 | Add support for specifying table prefix on namespace | Boris Kolpackov | 1 | -7/+18 | |
2012-02-22 | Add support for composite object ids | Boris Kolpackov | 1 | -248/+848 | |
New pragma id_type (member). New test: common/composite-id. The composite example has also been updated. | |||||
2012-02-10 | Use correct truncation vector in container loading code | Boris Kolpackov | 1 | -2/+2 | |
2012-01-29 | Update copyright year | Boris Kolpackov | 1 | -1/+1 | |
2012-01-29 | Remove author field from file header | Boris Kolpackov | 1 | -1/+0 | |
Too much effort to maintain. | |||||
2012-01-27 | Make container schema override object schema | Boris Kolpackov | 1 | -4/+9 | |
2012-01-26 | Add clarifying comments | Boris Kolpackov | 1 | -1/+5 | |
2012-01-26 | Implement support for database schema | Boris Kolpackov | 1 | -17/+24 | |
New pragma qualifier: namespace. New pragma specifier: schema. The table specifier was extended to accept a schema prefix. New option: --default- schema. The common/schema test was extended to cover the new functionality. | |||||
2012-01-25 | Rename --default-schema to --schema-name | Boris Kolpackov | 1 | -1/+1 | |
2012-01-20 | Add support for case where we don't send auto object id in INSERT | Boris Kolpackov | 1 | -4/+11 | |
2012-01-20 | Handle delayed result set freeing in all places | Boris Kolpackov | 1 | -11/+35 | |
2012-01-20 | Do not select object id in container SELECT statement | Boris Kolpackov | 1 | -7/+8 | |
2012-01-20 | ODB compiler implementation, traits, and types test for SQL Server | Boris Kolpackov | 1 | -143/+246 | |
2012-01-08 | Add support for defining composite value type as class template instantiations | Boris Kolpackov | 1 | -21/+23 | |
2011-11-18 | Add newlines to the multi-line embedded schema creation statements | Boris Kolpackov | 1 | -3/+4 | |
2011-11-15 | Add call to select_statement::stream_data for container types in Oracle | Constantin Michael | 1 | -0/+11 | |
2011-11-09 | Make sure we can use same type as both container and simple value | Boris Kolpackov | 1 | -9/+6 | |
2011-11-01 | Implement support for optimistic concurrency | Boris Kolpackov | 1 | -37/+280 | |
New pragmas: optimistic, version. New test: optimistic. New database function: reload(). | |||||
2011-11-01 | Rework statement interfaces wrt param/result passing | Boris Kolpackov | 1 | -17/+31 | |
2011-11-01 | Implement query image change callback machinery | Constantin Michael | 1 | -0/+7 | |
2011-10-27 | Add support for persistent classes without object ids | Boris Kolpackov | 1 | -175/+197 | |
New pragma id (object). New test: common/no-id. | |||||
2011-10-24 | Generate database schema from database model instead of C++ model | Boris Kolpackov | 1 | -15/+71 | |
We now first create the so-called database model from C++ model and then use that to generate the database schema. The new approach also adds more general support for primary/foreign keys, including multi- column keys. Finally, for MySQL we now generate out-of-line foreign key definitions. Because MySQL does not support deferred constraints checking, deferred foreign keys are written commented out, for documentation. | |||||
2011-10-21 | Add support for const data members | Boris Kolpackov | 1 | -20/+58 | |
Const data members are automatically treated as readonly. New test: const-member. | |||||
2011-10-21 | Add support for readonly members | Boris Kolpackov | 1 | -87/+164 | |
New pragma: readonly. New test: readonly. | |||||
2011-10-21 | Split 'in' binding into insert/update pair; rename 'out' to select | Boris Kolpackov | 1 | -99/+196 | |
Also add the initial infrastructure for the readonly members support. Right now the split insert/update bindings allows us to avoid sending object id in UPDATE statements. It will also allows us to support readonly members. | |||||
2011-10-21 | Refactor persist statement hook | Constantin Michael | 1 | -24/+19 | |
2011-10-21 | Rename relational::context::use_as to relational::context::need_alias_as | Constantin Michael | 1 | -6/+6 | |
2011-10-21 | Aesthetic changes and small bug fixes | Constantin Michael | 1 | -3/+4 | |
2011-10-21 | Add persist_stmt hook to handle generation of persist statement SQL | Constantin Michael | 1 | -9/+28 | |
ODB requires that Oracle persist statements include a RETURNING clause so that a generated auto_id column value may be returned. |