Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-10-08 | Ground work for multi-database support | Boris Kolpackov | 1 | -1/+2 | |
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-04 | NULL handling improvements | Boris Kolpackov | 2 | -65/+25 | |
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-15 | Add support for member accessors/modifiers | Boris Kolpackov | 1 | -0/+39 | |
New pragmas: get, set, access. New test: common/access. | |||||
2012-07-27 | Move indexes from model scope to table scope | Boris Kolpackov | 1 | -0/+20 | |
Conceptually, indexes belong to tables and some databases (MySQL, MSSQL) indeed treat them as such (i.e., you can have indexes with the same name in different tables). | |||||
2012-07-25 | Simplify auto id implementation in Oracle | Boris Kolpackov | 3 | -44/+13 | |
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-17 | Remove unnecessary instance<> usage | Boris Kolpackov | 1 | -2/+2 | |
2012-07-11 | Drop Oracle trigger and sequence only if we have auto primary key | Boris Kolpackov | 1 | -18/+38 | |
2012-07-10 | Add support for custom database type mapping | Boris Kolpackov | 5 | -64/+132 | |
New pragma qualifier, map, and specifiers: as, to, from. New tests: <database>/custom. | |||||
2012-07-10 | Add missing newline | Boris Kolpackov | 1 | -1/+1 | |
2012-06-29 | Cosmetic changes | Boris Kolpackov | 1 | -1/+1 | |
2012-04-27 | Add support for NULL pointers to objects with composite object ids | Boris Kolpackov | 1 | -0/+43 | |
2012-04-25 | Fix auto id handling in polymorphic objects | Boris Kolpackov | 1 | -1/+4 | |
2012-04-23 | Polymorphic inheritance support | Boris Kolpackov | 4 | -140/+52 | |
2012-03-09 | Don't override NOT NULL on Oracle VARCHAR column if it's primary key | Boris Kolpackov | 1 | -4/+21 | |
2012-03-07 | Use RAII to free select statement results | Boris Kolpackov | 1 | -0/+1 | |
2012-03-05 | Add support for generating schema creation code into separate C++ file | Boris Kolpackov | 1 | -6/+6 | |
2012-02-22 | Add support for composite object ids | Boris Kolpackov | 6 | -525/+79 | |
New pragma id_type (member). New test: common/composite-id. The composite example has also been updated. | |||||
2012-01-29 | Update copyright year | Boris Kolpackov | 8 | -8/+8 | |
2012-01-29 | Remove author field from file header | Boris Kolpackov | 8 | -8/+0 | |
Too much effort to maintain. | |||||
2012-01-26 | Implement support for database schema | Boris Kolpackov | 3 | -15/+30 | |
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-22 | Pass precision and scale to Oracle query_param | Boris Kolpackov | 3 | -18/+105 | |
2012-01-22 | Fix INTERVAL types parsing | Boris Kolpackov | 1 | -8/+29 | |
Assign default precisions, store seconds precision for INTERVAL DAY TO SECOND in scale since prec stores the days precisions. | |||||
2012-01-22 | Rename range to precision in Oracle generator | Boris Kolpackov | 4 | -59/+60 | |
2012-01-22 | Fix bug in Oracle DECIMAL/NUMERIC type aliases parsing | Boris Kolpackov | 1 | -18/+9 | |
2012-01-22 | Change default Oracle std::string mapping to 512 from 4000 | 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 | -0/+1 | |
2012-01-20 | Remove unnecessary newline | Boris Kolpackov | 1 | -2/+1 | |
2012-01-20 | ODB compiler implementation, traits, and types test for SQL Server | Boris Kolpackov | 1 | -1/+6 | |
2012-01-20 | Various Oracle cleanups and cosmetic changes | Boris Kolpackov | 4 | -11/+3 | |
2012-01-08 | Add support for defining composite value type as class template instantiations | Boris Kolpackov | 1 | -2/+2 | |
2011-11-30 | Add comments | Boris Kolpackov | 2 | -0/+5 | |
2011-11-30 | Merge LOB callback function and context into struct | Boris Kolpackov | 2 | -6/+4 | |
This allows us to have one less member in the bind struct. | |||||
2011-11-29 | Cosmetic changes | Boris Kolpackov | 2 | -2/+2 | |
2011-11-18 | Add newlines to the multi-line embedded schema creation statements | Boris Kolpackov | 1 | -1/+1 | |
2011-11-17 | Correct Oracle PL/SQL script generation typo | Constantin Michael | 1 | -1/+1 | |
2011-11-16 | Allocate position context in oracle::lob struct instead of in Oracle LOB image | Constantin Michael | 2 | -6/+2 | |
2011-11-15 | Refactor LOB descriptor, callback context, and temporary buffer handling | Constantin Michael | 2 | -16/+4 | |
Due to image sharing amongst container statements, LOB binding placeholders cannot be shared between parameter and result versions of a bind. | |||||
2011-11-15 | Add call to select_statement::stream_data for container types in Oracle | Constantin Michael | 1 | -0/+7 | |
2011-11-10 | Add missing spaces after commas in generated code | Boris Kolpackov | 1 | -3/+3 | |
2011-11-10 | Set LOB parameter capacity in runtime instead of in generated code | Constantin Michael | 1 | -5/+0 | |
2011-11-09 | Make sure we can use same type as both container and simple value | Boris Kolpackov | 4 | -7/+18 | |
2011-11-08 | Tighten Oracle SQL type parsing logic | Constantin Michael | 1 | -56/+68 | |
2011-11-08 | Pass LOB capacity using bind::capacity member instead of deriving at run-time | Constantin Michael | 1 | -4/+13 | |
2011-11-08 | Add support for Oracle INTERVAL temporal types | Constantin Michael | 6 | -112/+295 | |
2011-11-01 | Implement support for optimistic concurrency | Boris Kolpackov | 1 | -3/+9 | |
New pragmas: optimistic, version. New test: optimistic. New database function: reload(). | |||||
2011-11-01 | Rename local variable to improve readability | Constantin Michael | 1 | -3/+3 | |
2011-11-01 | Use lob_auto_descriptor pointer as LOB image type | Constantin Michael | 1 | -2/+1 | |
2011-11-01 | Generate an image inline function that will return its change_callback member | Constantin Michael | 2 | -4/+22 | |
libodb-oracle references the change_callback member of an image even when code is generated without query support. In order to avoid invalid references, the change_callback member is accessed via a getter method that is always generated. | |||||
2011-11-01 | Do not generate image version or change_callback members for abstract objects | Constantin Michael | 2 | -3/+4 | |
2011-11-01 | Implement query image change callback machinery | Constantin Michael | 2 | -0/+21 | |