Age | Commit message (Collapse) | Author | Files | Lines |
|
Sections are an optimization mechanism that allows the partitioning of
data members of a persistent class into groups that can be separately
loaded and/or updated.
|
|
|
|
|
|
Now each object pointer or view-associated object with alias gets its
own unique tag.
|
|
Add new options (--multi-database, --default-database). Generate common
code to -odb.?xx files and database-specific to -odb-<db>.?xx.
|
|
|
|
New pragma id_type (member). New test: common/composite-id. The composite
example has also been updated.
|
|
|
|
Too much effort to maintain.
|
|
For SQL Server we need to be able to pass precision/scale.
|
|
|
|
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.
|
|
We also now use the correct separate "role"-base join approach instead of
having a single merged join for each table.
|
|
Rename some functions to have consistent names. Add object() predicate.
|
|
Now we always qualify with the actual table name and use the '_'
alias for situations where an object is referencing itself.
|
|
|
|
Every class gets a separate table. New test: common/inheritance.
|
|
|
|
|
|
The common part (in relational/) still has some MySQL-specific parts.
Also, add the notion of the current context which is used to avoid
explicitly passing the context object to every generator's c-tor.
|