summaryrefslogtreecommitdiff
path: root/odb
AgeCommit message (Collapse)AuthorFilesLines
2012-07-27Bump version to 2.1.0.a22.1.0.a2Boris Kolpackov1-4/+4
2012-07-27Handle special case of array of zero elementsBoris Kolpackov1-0/+7
2012-07-27Add support for defining indexesBoris Kolpackov23-238/+1391
New db pragma qualifier: index. New tests: common/index, mysql/index, pgsql/index.
2012-07-27Move indexes from model scope to table scopeBoris Kolpackov13-183/+164
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-27Use cxx_lexer interface instead of pragma_lex() directlyBoris Kolpackov10-391/+474
This will allow us to use different kinds of cxx_lexer implementations in the future.
2012-07-25Simplify auto id implementation in OracleBoris Kolpackov6-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-25Clean up PostgreSQL auto id implementationBoris Kolpackov2-6/+11
Specifically, avoid sending the auto id value.
2012-07-17Bump version to 2.1.0.a12.1.0.a1Boris Kolpackov1-4/+4
2012-07-17Remove unnecessary instance<> usageBoris Kolpackov4-29/+29
2012-07-17Implement multi-pass table dropping for SQL ServerBoris Kolpackov3-14/+113
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-16Simplify query inheritance hierarchyBoris Kolpackov4-140/+16
This should also allow Sun CC handle queries for objects with circular dependencies.
2012-07-16Fix code generation for circularly-dependant classes in separate headersBoris Kolpackov3-34/+68
New tests: common/circular/{single,multiple}.
2012-07-11Drop Oracle trigger and sequence only if we have auto primary keyBoris Kolpackov1-18/+38
2012-07-10Add support for custom database type mappingBoris Kolpackov34-467/+1269
New pragma qualifier, map, and specifiers: as, to, from. New tests: <database>/custom.
2012-07-10Add support for SQL lexer reuseBoris Kolpackov2-7/+23
2012-07-10Add missing newlineBoris Kolpackov1-1/+1
2012-06-29Cosmetic changesBoris Kolpackov2-2/+2
2012-06-29Fix error message to suggest more appropriate optionBoris Kolpackov1-1/+1
2012-06-20Cosmetic changeBoris Kolpackov1-1/+0
2012-05-08Don't (re)indent user-supplied prologues and epiloguesBoris Kolpackov1-57/+69
2012-05-05Bump version to 2.0.12.0.1Boris Kolpackov1-2/+2
2012-05-05Handle GCC 4. compiled with C and C++ compilersBoris Kolpackov1-1/+12
2012-04-30Add support for -isystem -iquote -idirafter preprocessor options2.0.0Boris Kolpackov1-9/+18
2012-04-30Rework polymorphic info and entry static variablesBoris Kolpackov2-19/+20
Make entry file-static. Move info further down in class definition. Make both const. This helps VC++.
2012-04-29Bump version to 2.0.0Boris Kolpackov1-4/+4
2012-04-29Cosmetic changeBoris Kolpackov1-1/+1
2012-04-29Use traditional const placementBoris Kolpackov1-1/+1
2012-04-29Generate default constructors for classes used in static const membersBoris Kolpackov1-3/+7
2012-04-29Include header that defines version macros before checking themBoris Kolpackov1-1/+2
2012-04-27GCC 4.7 compatibility changesBoris Kolpackov7-12/+59
2012-04-27Don't generate grow code for databases that don't need itBoris Kolpackov4-30/+75
2012-04-27Support for NULL value semantics for composite valuesBoris Kolpackov2-20/+95
2012-04-27Add support for NULL pointers to objects with composite object idsBoris Kolpackov15-28/+456
2012-04-26Fix bug in type printing during parsing (--trace crash)Boris Kolpackov1-1/+1
2012-04-26Make session optionalBoris Kolpackov9-45/+170
2012-04-25Fix auto id handling in polymorphic objectsBoris Kolpackov3-3/+12
2012-04-23Polymorphic inheritance supportBoris Kolpackov54-3602/+6228
2012-03-09Pass -std and -framework options when extracting profile pathsBoris Kolpackov1-4/+16
2012-03-09Add support for --show-sloc and --sloc-limit optionsBoris Kolpackov3-34/+216
2012-03-09Don't override NOT NULL on Oracle VARCHAR column if it's primary keyBoris Kolpackov1-4/+21
2012-03-08Print usage/version information to STDOUT instead of STDERRBoris Kolpackov1-9/+8
2012-03-07Use RAII to free select statement resultsBoris Kolpackov9-66/+65
2012-03-06Detect situations where session is required but not usedBoris Kolpackov1-0/+18
Throw session_required.
2012-03-05Add support for specifying object/view pointer on namespaceBoris Kolpackov2-12/+97
2012-03-05Add support for generating schema creation code into separate C++ fileBoris Kolpackov16-287/+554
2012-03-02Get rid of uninitialized variable warningsBoris Kolpackov2-2/+2
2012-03-02Bump version to 1.9.0.a1Boris Kolpackov1-4/+4
2012-02-28Disable warnings about deprecated constructsBoris Kolpackov1-0/+1
If desired, those should be picked up by the user's C++ compiler, not ODB compiler.
2012-02-27Add support for specifying table prefix on namespaceBoris Kolpackov5-40/+118
2012-02-23Use gnu++ instead of c++ for C++ standard to enable GCC extensionsBoris Kolpackov1-2/+2
This is to be consistent with the default GCC mode which is gnu++98.