Age | Commit message (Collapse) | Author | Files | Lines |
|
New pragmas: optimistic, version. New test: optimistic. New database
function: reload().
|
|
Const data members are automatically treated as readonly. New test:
const-member.
|
|
New pragma: readonly. New test: readonly.
|
|
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.
|
|
Now objects are always loaded as non-const and the object cache in
session treats all objects as non-const.
|
|
|
|
|
|
NULL semantics for composite values is not yet supported.
|
|
Now we always qualify with the actual table name and use the '_'
alias for situations where an object is referencing itself.
|
|
|
|
Now, instead of being specified as part of the SQL type with the type
pragma, there are separate null and not_null pragmas. The not_null
pragma was used to control NULL-ness of object pointers. Now the two
pragmas are used consistently for object pointers and simple values
(and in the future will work for composite values and containers).
|
|
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.
|