Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-09-13 | Add --omit-drop and --omit-create options | Boris Kolpackov | 1 | -3/+10 | |
2012-09-13 | Add --sql-interlude and --sql-interlude-file options | Boris Kolpackov | 2 | -44/+53 | |
2012-09-12 | Implement --output-name, --generate-schema-only, and --at-once options | Boris Kolpackov | 5 | -6/+6 | |
2012-09-10 | Add support for alternative UTF-16 image for TEXT in SQLite | Boris Kolpackov | 2 | -2/+5 | |
Use it to handle QString and support std::wstring on Windows. | |||||
2012-09-04 | NULL handling improvements | Boris Kolpackov | 7 | -150/+124 | |
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 | 3 | -217/+261 | |
New test: common/virtual. | |||||
2012-08-16 | Add support for automatically discovering accessor/modifier functions | Boris Kolpackov | 4 | -148/+390 | |
New options: --{accessor,modifier}-regex, --{accessor,modifier}-regex-trace. | |||||
2012-08-15 | Add support for member accessors/modifiers | Boris Kolpackov | 6 | -303/+939 | |
New pragmas: get, set, access. New test: common/access. | |||||
2012-08-15 | Factor out check for SQL Server long data | Boris Kolpackov | 5 | -88/+56 | |
2012-08-14 | Fix potential container statement name conflict | Boris Kolpackov | 1 | -3/+6 | |
2012-08-01 | Add support for empty column names in composite value types | Boris Kolpackov | 4 | -65/+70 | |
2012-07-27 | Handle special case of array of zero elements | Boris Kolpackov | 1 | -0/+7 | |
2012-07-27 | Add support for defining indexes | Boris Kolpackov | 9 | -82/+696 | |
New db pragma qualifier: index. New tests: common/index, mysql/index, pgsql/index. | |||||
2012-07-27 | Move indexes from model scope to table scope | Boris Kolpackov | 8 | -156/+149 | |
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-27 | Use cxx_lexer interface instead of pragma_lex() directly | Boris Kolpackov | 2 | -47/+51 | |
This will allow us to use different kinds of cxx_lexer implementations in the future. | |||||
2012-07-25 | Simplify auto id implementation in Oracle | Boris Kolpackov | 6 | -101/+71 | |
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-25 | Clean up PostgreSQL auto id implementation | Boris Kolpackov | 2 | -6/+11 | |
Specifically, avoid sending the auto id value. | |||||
2012-07-17 | Remove unnecessary instance<> usage | Boris Kolpackov | 4 | -29/+29 | |
2012-07-17 | Implement multi-pass table dropping for SQL Server | Boris Kolpackov | 2 | -14/+108 | |
We have to first drop constraints before dropping tables in case the tables are dropped in a wrong order or there are circular dependencies. | |||||
2012-07-16 | Simplify query inheritance hierarchy | Boris Kolpackov | 4 | -140/+16 | |
This should also allow Sun CC handle queries for objects with circular dependencies. | |||||
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 | 28 | -320/+961 | |
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 | 2 | -2/+2 | |
2012-06-29 | Fix error message to suggest more appropriate option | Boris Kolpackov | 1 | -1/+1 | |
2012-04-30 | Rework polymorphic info and entry static variables | Boris Kolpackov | 2 | -19/+20 | |
Make entry file-static. Move info further down in class definition. Make both const. This helps VC++. | |||||
2012-04-29 | Cosmetic change | Boris Kolpackov | 1 | -1/+1 | |
2012-04-29 | Generate default constructors for classes used in static const members | Boris Kolpackov | 1 | -3/+7 | |
2012-04-27 | Don't generate grow code for databases that don't need it | Boris Kolpackov | 4 | -30/+75 | |
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 | 10 | -25/+422 | |
2012-04-26 | Make session optional | Boris Kolpackov | 3 | -27/+81 | |
2012-04-25 | Fix auto id handling in polymorphic objects | Boris Kolpackov | 3 | -3/+12 | |
2012-04-23 | Polymorphic inheritance support | Boris Kolpackov | 32 | -3510/+5690 | |
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 | 9 | -66/+65 | |
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 specifying object/view pointer on namespace | Boris Kolpackov | 1 | -10/+85 | |
2012-03-05 | Add support for generating schema creation code into separate C++ file | Boris Kolpackov | 9 | -284/+430 | |
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 | 37 | -3197/+2062 | |
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 | 58 | -58/+58 | |
2012-01-29 | Remove author field from file header | Boris Kolpackov | 58 | -58/+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 | 22 | -108/+273 | |
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-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. |