diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-10-27 15:16:49 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-10-27 15:16:49 +0200 |
commit | 8d82c02a90cd7cc3f161828624db5b973585c34c (patch) | |
tree | 7b04f0b5e1b9e6eb3a2e76395df6a132be7a78d0 /odb/relational/oracle | |
parent | 9d10c570acf1b7e8ed7c0a750ae3edfa70da200b (diff) |
Add support for persistent classes without object ids
New pragma id (object). New test: common/no-id.
Diffstat (limited to 'odb/relational/oracle')
-rw-r--r-- | odb/relational/oracle/source.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/relational/oracle/source.cxx b/odb/relational/oracle/source.cxx index 880b496..a22c235 100644 --- a/odb/relational/oracle/source.cxx +++ b/odb/relational/oracle/source.cxx @@ -876,7 +876,7 @@ namespace relational { semantics::data_member* id (id_member (c)); - if (id->count ("auto")) + if (id != 0 && id->count ("auto")) { os << endl << strlit (" RETURNING " + |